Re: [WSG] Styling Dynamic Text Replacement h#

2006-11-27 Thread James Crooke
sifr is a great technique! On 11/26/06, J.D. Welch [EMAIL PROTECTED] wrote: On Nov 26, 2006, at 06:00 AM, CK wrote: Hi, This technique is most useful, however how can styles override the hard-coded PHP? http://www.alistapart.com/articles/dynatext This is a nifty technique, certainly,

Re: [WSG] Background image rendering

2006-11-27 Thread Tom Livingston
On 11/21/06 3:31 PM, Patrick H. Lauke [EMAIL PROTECTED] wrote: Presuming that you're doing XHTML, rather than HTML...you're probably better off applying the background image to the HTML element, not the BODY. In XHTML, BODY isn't magical anymore in that it's just as big as its

Re: [WSG] Background image rendering

2006-11-27 Thread Nick Fitzsimons
On 27 Nov 2006, at 13:42:24, Tom Livingston wrote: On 11/21/06 3:31 PM, Patrick H. Lauke [EMAIL PROTECTED] wrote: Presuming that you're doing XHTML, rather than HTML...you're probably better off applying the background image to the HTML element, not the BODY. In XHTML, BODY isn't magical

Re: [WSG] Background image rendering

2006-11-27 Thread Tom Livingston
On 11/27/06 9:14 AM, Nick Fitzsimons [EMAIL PROTECTED] wrote: Afraid not, the HTML element can only have lang and dir attributes: http://www.w3.org/TR/html4/struct/global.html#edef-HTML Regards, Nick. -- Nick Fitzsimons http://www.nickfitz.co.uk/ OK. So. Can I still use the

Re: [WSG] Background image rendering

2006-11-27 Thread Philippe Wittenbergh
On Nov 27, 2006, at 11:14 PM, Nick Fitzsimons wrote: Sounds logical. However, I am using IDs on the body to give, among other things, different bg images to site sections. Can I give the HTML element an ID instead? I just never heard of doing this type of thing to that element. Afraid

Re: [WSG] Background image rendering

2006-11-27 Thread Nick Fitzsimons
On 27 Nov 2006, at 14:22:12, Tom Livingston wrote: On 11/27/06 9:14 AM, Nick Fitzsimons [EMAIL PROTECTED] wrote: Afraid not, the HTML element can only have lang and dir attributes: http://www.w3.org/TR/html4/struct/global.html#edef-HTML Regards, Nick. -- Nick Fitzsimons

RE: [WSG] Background image rendering

2006-11-27 Thread Patrick Lauke
Nick Fitzsimons I once read an explanation of why CSS selectors can't do this, but I can't find it now. I seem to remember that the main objections were: a) performance issues (as there is the potential, with ancestor queries, to run very slow depending on how deep the DOM tree is) b)

Re: [WSG] Background image rendering

2006-11-27 Thread Nick Fitzsimons
On 27 Nov 2006, at 15:38:30, Tom Livingston wrote: On 11/27/06 9:48 AM, Philippe Wittenbergh [EMAIL PROTECTED] wrote: This only applies to HTML 4.01 and XHTML 1.1. XHTML 1.0 allows for the id attribute on HTML. AvK has some details and references http://annevankesteren.nl/2003/08/html-id

Re: [WSG] Background image rendering

2006-11-27 Thread Tom Livingston
On 11/27/06 11:14 AM, Nick Fitzsimons [EMAIL PROTECTED] wrote: Yes. (My, it feels pleasant to say Yes for a change :-) And equally pleasant to hear it! Thanks! -- Tom Livingston | Senior Multimedia Artist | Media Logic | ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.com

[WSG] Vertical borders between inconsistent height divs

2006-11-27 Thread Nick Roper
Hi List, Not sure if this can be done but here goes: I have a 3 column layout and want to display a vertical border between the columns. The problem is that the relative heights of the columns can change depending on how much content is in each at any time. I want the borders to always

Re: [WSG] Vertical borders between inconsistent height divs

2006-11-27 Thread Paul Novitski
At 11/27/2006 02:25 PM, Nick Roper wrote: I have a 3 column layout and want to display a vertical border between the columns. The problem is that the relative heights of the columns can change depending on how much content is in each at any time. I want the borders to always extend for the

Re: [WSG] Vertical borders between inconsistent height divs

2006-11-27 Thread Nick Roper
The faux method seems to work OK, but I'll work my way through the documented issues and test it out in different browsers. Cheers, Nick Nick Roper wrote: Hi Paul, Thanks for that. I had wondered about using a background image and have now added an enclosing #content div to try it out.

[WSG] PNGs in CSS background images in IE6

2006-11-27 Thread Geoff Pack
Has anyone had any success using AlphaImageLoader with PNGs in CSS background images in IE6? Any foreground links over the PNG are broken (not clickable), and the fixes I found through Google aren't doing the job. Any ideas? thanks, Geoff

Re: [WSG] PNGs in CSS background images in IE6

2006-11-27 Thread John Faulds
Did the fixes you found include adding position: relative? On Tue, 28 Nov 2006 11:52:56 +1000, Geoff Pack [EMAIL PROTECTED] wrote: Has anyone had any success using AlphaImageLoader with PNGs in CSS background images in IE6? Any foreground links over the PNG are broken (not clickable), and

[WSG] positioning and rollovers

2006-11-27 Thread Teresa Carroll
Hello, I have 2 questions regarding a Web site I am developing. I am using CSS to provide a rollover. I am creating the Web site on a Macintosh and using fire Fox as a current browser. I just realized that the Internet Explorer does not recognize the rollover technique for this

Re: [WSG] PNGs in CSS background images in IE6

2006-11-27 Thread Tee G. Peng
On Nov 27, 2006, at 5:52 PM, Geoff Pack wrote: Has anyone had any success using AlphaImageLoader with PNGs in CSS background images in IE6? Hi Geoff, I did one sometimes ago. for non IE #header h2{ background: url(images/logo.png); height: 205px; width: 294px;

Re: [WSG] positioning and rollovers

2006-11-27 Thread John Faulds
For your first problem, make the anchors display: block, not display: inherit. I don't really understand the 2nd problem, sorry. On Tue, 28 Nov 2006 12:19:02 +1000, Teresa Carroll [EMAIL PROTECTED] wrote: Hello, I have 2 questions regarding a Web site I am developing. I am using CSS to

Re: [WSG] PNGs in CSS background images in IE6

2006-11-27 Thread Peter Ottery
Geoff wrote: - Yeah. Position relative doesn't seem to work. can you break it down to a basic stripped down version and post it somewhere for us to check out? I wrestled with it for ages on my site (http://c41.com.au) and eventually arrived at applying position:relative to the links

RE: [WSG] positioning and rollovers

2006-11-27 Thread Geoff Pack
Teresa, I think the problem here is that your anchor tags are empty, and without display:block, there is nowhere to click, and so nowhere for the hover effect to take place. Note that there is also no page content - if you view the page with CSS turned off the page is completely empty. No

Re: [WSG] PNGs in CSS background images in IE6

2006-11-27 Thread Dmitry Baranovskiy
Yeah, there is a bug in IE. I faced it once. The problem occurs only for background with some particular dimensions (it sound weird, I know). Try to reduce width of the background by 1 px and test it. Oh, here is the link with better description: http://www.daltonlp.com/