Simple question, and probably reflects my inexperience with CSS, but...
When creating a style sheet I like to explicitly specify the '*' wild card, so:
*.TitleText {
instead of just
.TitleText {
I find it reminds me that TitleText is applied to "any" tag, and can be overridden by a subsequent h1.TitleText. Maybe I just like this ...
Is there any way to get a background in CSS to stretch or scale to fill its container?
...
I'm currently about to enter a web design contest at my school along with a friend, and together we wanted to create a Wordpress blog theme. But so far... none seem to just be barebones, without and CSS Code, just the PHP code already there. Just if you know of a "blank" Wordpress theme... thanks.
UPDATE : I do in fact know CSS and have...
Trying to make a pure css dropdown list that works well, and can't find any good resources.
...
I'm not sure if this a settings problem or an HTML problem, but on a page layout I'm working on, Firefox does not render the stylesheet immediately. Meaning for maybe half a second I can see the unstyled page, then the stylesheet kicks in and it renders as I expect.
All my stylesheets are in external css files loaded in the head tag. I'...
I am building a menu using XHTML,CSS, and jQuery and I ran into a problem with my CSS.
Here is my test page, and here is my css.
What I am having problems with is that my .subMenu class is inheriting the properties of my #menu, the background colors and sizes are the same. I am looking for a solution that leaves .subMenu as a class s...
Hi, I'm trying to have text spans pop up on a hover pseudo-class for different lines in a menu (list items). I can have the pop-ups occupy the same space in the div if the menu/list is horizontal, but a vertical list places the popups at the same vertical height as the "parent" list/menu item.
Any ideas - please!
Here is the relevant ...
In a stylesheet i have:
* HTML BODY
{
padding-right: 0px;
padding-left: 0px;
padding-bottom: 25px;
padding-top: 190px;
}
* HTML #maincontent
{
width: 100%;
height: 100%;
}
i know that a . means class and a # means applied to the id, but what does * HTML mean?
...
I'm having trouble getting this code to show up correctly in WebKit browsers(chrome/safari). It looks fine in IE6, IE7, and FireFox.
<table width="100%">
<tr>
<td rowspan="2" style="vertical-align:middle;">
<a href="http://http://{$smarty.const.DOMAIN}/company/a_cherry_on_top/line/gift_cards/?v=s2"><img src="/i/thumbnails/a...
Hi ...
Many times when I read books related to CSS I see things like this "this will not work on some browser", "this hack will work for that browser".
Where I can all information that I need to know the hacks for working for all browsers?
thanks
...
I am a ASP .NET / C# developer. I have been asked to get a working knowledge of CSS for an upcoming project. What would the best approach to follow to learn CSS?
EDIT: I would also like to use any help i can get from VS 2008 when using CSS. Is there a resource that would show all the tools in VS2008 that help in using CSS?
...
I have found http://www.sitepoint.com/dustmeselectors/ which does about the opposite of what I want, identifying selectors in CSS that aren't used in HTML.
I want a tool that will find elements that have a class attribute but the class isn't defined in any CSS being loaded by the page.
Thanks
...
I have a page where I combine labels, input boxes and text areas to display some content.
I would like all of them to have the same font-family and font-size.
I have played with the font-family: inherit style but this doesn't seem to work for the input and text areas.
What would be the easiest way to ensure the same font / size over the...
As far as I know, there's no way to use {% include %} within a dynamic JS file to include styles. But I don't want to have to make another call to the server to download styles.
Perhaps it would be possible by taking a stylesheet and injecting it into the head element of the document...has anyone does this before?
...
My right side bar isn't staying on top.
These are the two pages for example. www.cafecartel.com
and www.cafecartel.com.index2.php
Currently the way the site is written, the right side bar must be placed like this:
body id="Support"
div id="container1"
div id="container2"
div id="header"
?php include("inc/header.inc"); ?
h1 Poin...
Does anyone have a solution for styling the borders of "select" elements in Internet Explorer using CSS?
...
I am trying to get a text to wrap around a div in my XHTML. My XHTML looks like so....
<div id="cont-content">
<p>content</p>
<p>more content</p>
<div id="content-sidebar">
BLALALALALLAAL
</div>
</div>
And my CSS looks like...
#content-sidebar {
display: block;
float: right;
width: 270px;
height: 400px;
...
One of my pages of my site is behaving really weird in IE6.
One element is ignoring its background color and border.
The other element is invisible (textcolor same as foreground color?)
The elements are not always showing this behaviour, but about 50% of the loads without any pattern.
When the browser window is resized or scrolled, or t...
I'm using a bookmarklet that inserts a script tag into the current web page.
This script has some ui and an "input type=submit...." tag in it.
Web Page A has chosen not to style "input type=submit.." tags whereas
web page B has styled them.
This results in the the bookmarklet displaying differently styled submit
buttons based on the u...
I came across this article on "A List Apart" that suggests spliting css information in (at least) three separate files, one for typography, one for layout and one for color information. Color seems pretty obvious, but how would you explain to your average programmer (that would be me) what's type and what's layout?
...