hi when i write css or html i found that i want add two name like this
web-development
web_development
which one is better according SEO or write style name, file name or image name.
Most often the cleanup rules (Preferences Java Code Style Clean Up) in Eclipse work perfectly and create nice-looking code.
But sometimes, especially with comments and concatenated string snippets (like inline SQL queries), the cleanup just messes things up, and destroys my formatting.
Is there a way to say to Eclipse "Don't touch this block of text! I have formatted it just the way I like, and you would make it just less readable"?
Hello. Does anyone know how I can prevent my C# winform covering/going on top of the taskbar? My form's border style has been set to "FixedToolWindow" which seems to cause this. I thought about reducing the height of the form, when the user makes the form maximized, but that wouldn't work as people may have different size taskbars. Any ideas? Thanks.
What's the best way to get a ul to start from 'x'?
The start tag is depricated and everything I have found on Google has used the :before pseudo class which doesn't work in IE6 or 7. Didn't have much luck when searching stack either.
Only thing I can think of is manually go through and number the lists myself and style accordingly?
Any help appreciated.
i have two divs one floated to the left and the other to the right and after them i have added a div with style clear:both
after that i have an other div with a margin-top : 35px the margin is shown as expected in IE7 FF Chrome and opera but can't see it on IE8 any ideas ?
I made a UITableViewCell subclass, and now I want that subclass to be "clever". It should align it's contents to the height of the row. But for this, the cell must know what height value was provided for it in this method:
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
However, no matter what value I assign here, my cell's frame is 44 px height at initialization time (default style). Is there any way I can get that value from the cell at initialization time?
hello friends
how can i download all CSS used in a site, for example im interested to www.MSN.ca and i want to know about style-sheets yous in MSN !
thanks
I'm new to Cocoa Touch, so this might be pretty easy, but I can't seem to figure out what UIKit elements were used to create a grid like this?
Is this simply a UITableView with a pagination controller? If so, how'd they style it like this?
Thanks!
PS: I'm not allowed to post images yet, i guess. hopefully the link works...
http://img576.imageshack.us/img576/8523/screenshot20100525at941.png
hi all,
i'm having a vertical navigation in my website (items below each other) and i'm looking for a menu script (i think it's called accordeon style)
when clicking on a menu item all subitems should slide out and the rest of the navigation should also slide down.
thanks
<td style="width:230px;overflow:hidden;">
<?php echo $something; ?>
</td>
What I'm doing is to cut $something to 2 rows at most,and add ... when necessary,
but this kind of requirement seems clue less when trying to implement,
Solutions within the scope of php/javascript/css are appreciated!
anyone has ideas?
I'm trying to find all LIs with name=checked and hide() them, but this doesn't seem to be working:
$('li').attr("name","checked").hide();
<li name="unchecked" style="display: inline;"><a href="/">Home</a></li>
Any ideas?
Hi,
I'm trying to make a jquery tooltip that appears when a user mouses over a link. In my case the link is using display:block style so that it covers a large area. It works perfectly in Chrome and Firefox but in Internet Explorer it doesn't work at all. The tooltip doesn't show, the browsers own tooltip shows etc... IE!!!!
http://pastebin.com/1kBaMujV
Any ideas? Got to love internet explorer...
hi,
what's the best way to customize html-css tooltips ? (I mean an easy cross-browser solution).
I need to reduce the fade-in delay and change the style. (also, could you suggest a good jQuery plug-in for it ?
thanks
Problem with jQuery:
After changing the border and background color of some input fields in a form that fail the validation i don't know how to get the previous, original colors back as i don't pre-style the inputs but use the browser settings instead. how to handle this?
thanks in advance,
clubnite
When I load content with AJAX, is this content supposed to automatically use the preloaded main page css style ?
For example, if I load a <span class="smallText">hello</span> with AJAX.
Is this new HTML using the default.css file with
.smallText {
font-size:6px;
}
?
Hello friends,
How can i prevent user to enter any url or link in contact form text area, i have tried it with this but its not working -
if (!isset($_POST['submit']) && preg_match_all('/<a.*>.*<\/a>/', $_POST['query']))
{
echo "<h1 style='color:red;'>HTML Tag Not allowed </h1>";
}
else {
//sendmail
}
Please help me
I have some HTML that looks like this,
<div id="mb_contents" style="visibility: visible; opacity: 1; width: 600px; height: 450px;">
I am trying to turn the visibilty to hidden using this js/mootools,
$('mb_overlay').set('styles', {
'visibilty': 'hidden',
});
However nothing seems to be working, am I missing something?
Hi All
i have HTML string value and i want to get one attribute(id) value from that html String value
can u help me how to do it??
String msHTMLFile = "<ABBR class='HighlightClass' id='highlight40001' style=\"BACKGROUND-COLOR: yellow\" >Fetal/Neonatal Morbidity and Mortality</ABBR>";
result should come - highlight40001;
Hello,
I have a rather simple question but i can't seem to find an answer to it.
I want when i click on any place on web page a div is opened. how can i accomplish that CSS style.
Thanks.
What is the optimal way to write the code which interacts with DB using linq2SQL? I need to add some business logic to the entities. So I guess there are two ways:
Write some wrapper class. The
main minus is that many fields are
the same, so i don't feel it as DRY
style.
Add business logic methods
to linq2sql entities(these classes
are partial) directly
???
Hi All,
I am wondering is there any way we can test the font size/color of a webpage in IE6+. I think it is not possible by checking the css class, as some other style may overwrite the styles of the class which has been assinged to that text.
Actually I want to know the browser assigned font-size to the text of the page, as we can do it in firebug on firefox.
Any help would be appreciated.
<a href="index.html"><img src="image.png"/></a>
IE8 highlights the image with a blue border. I'm not sure what CSS is relevant here, is it just border? Can I use a single CSS style to turn it off, like:
a img
{
...
}
I have a class that implements an interface. The interface is
public interface IRiskFactory
{
void StartService();
void StopService();
}
The class that implements the interface is
public class RiskFactoryService : IRiskFactory
{
}
Now I have a console application and one window service.
From the console application if I write the following code
static void Main(string[] args)
{
IRiskFactory objIRiskFactory = new RiskFactoryService();
objIRiskFactory.StartService();
Console.ReadLine();
objIRiskFactory.StopService();
}
It is working fine. However, when I mwrite the same piece of code in Window service
public partial class RiskFactoryService : ServiceBase
{
IRiskFactory objIRiskFactory = null;
public RiskFactoryService()
{
InitializeComponent();
objIRiskFactory = new RiskFactoryService(); <- ERROR
}
/// <summary>
/// Starts the service
/// </summary>
/// <param name="args"></param>
protected override void OnStart(string[] args)
{
objIRiskFactory.StartService();
}
/// <summary>
/// Stops the service
/// </summary>
protected override void OnStop()
{
objIRiskFactory.StopService();
}
}
It throws error: Cannot implicitly convert type 'RiskFactoryService' to 'IRiskFactory'. An explicit conversion exists (are you missing a cast?)
When I type cast to the interface type, it started working
objIRiskFactory = (IRiskFactory)new RiskFactoryService();
My question is why so?
I have an app that displays a large amount of information. For paging I'd like to use the "Home Screen" style scrolling/paging instead of the one used in pdf documents (smooth scrolling). How what should I use? also can that UI support more than 20 pages? or is there a better solution?