RE: [css-d] Site Query

2005-05-11 Thread Jon Jensen
It looks like this only affects Mozilla, as it renders fine in IE and Opera. It has to do with the clearing div not working, since it has no contents or dimensions. If you give the clearing div a border or padding, that will fix it. Another fix is to get rid of that div altogether and have the

RE: [css-d] dumb question

2005-05-13 Thread Jon Jensen
That's just the way it's defined. Id's in HTML are comparable to variable names in programming languages, which generally have similar restrictions. From the HTML spec: ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]),

RE: [css-d] OVERRIDE Font tag?

2005-05-23 Thread Jon Jensen
Les, Why not try this: font{font-size: 100%;} That seems to do the trick in every major browser. It'll make the text in the font tag the same size as the stuff outside. Additionally, you could strip out the font tags in the database pretty easily: UPDATE mytable SET description =

RE: [css-d] Why using file extension .css

2005-05-24 Thread Jon Jensen
A couple reasons... 1. Mime types If your css files end in .foo instead of .css, the web server won't send the appropriate text/css type unless it has been explicitly configured to do so. Even though you might be saying link type=text/css ..., user agents are supposed to respect the content-type

RE: [css-d] Fonts

2005-05-24 Thread Jon Jensen
There is a way to embed the font in to the website, but I have no idea how to do it. It's done at http://chris.pirillo.com/ if anyone knows how Chris did this? It appears that it only works in IE, even though it's part of the CSS 2 spec... Chris uses @font-face in his style sheet to load a

RE: [css-d] css dropdowns and forms

2005-08-18 Thread Jon Jensen
There is no pure CSS way to do this, but you do have options: 1. Position an empty iframe behind your suckerfish dropdown http://dotnetjunkies.com/WebLog/jking/archive/2003/07/21/488.aspx 2. Use DHTML selects http://www.icant.co.uk/forreview/tamingselect/ 3. Move your form/selects away from the

RE: [css-d] css dropdowns and forms

2005-08-18 Thread Jon Jensen
I suppose there is one more option I forgot: 4. Use javascript to hide select controls (visibility:hidden) when the suckerfish menu is active. Jon __ css-discuss [EMAIL PROTECTED]

Re: [css-d] classes and id's

2006-05-08 Thread Jon Jensen
It depends on what you are trying to do... Each of these does something slightly different: a.leftborder {color: #ff;} /* all anchors having the leftborder class will be white e.g. a href=foo.html class=leftborderbar/a */ .leftborder a {color: #ff;} /* all anchors inside an element

Re: [css-d] site not working on Safari

2006-08-02 Thread Jon Jensen
Hi Ian, I get a file not found error when I try to access the following url: http://www.iyesolutions.co.uk/templates/fishings/test-left.html However, what you describe sounds like something I ran across recently. Safari seemed to be ignoring my stylesheet, but it turned out to be a syntax error

Re: [css-d] IE6 bezerks

2006-09-27 Thread Jon Jensen
Do you have a public IP address? Addresses like 192.168.x.x are private, meaning they can only be accessed within your local network. Jon __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2