Re: [css-d] Negative margins for image overflow

2008-09-09 Thread Gunlaug Sørtun
Mike Breiding wrote: > alt=""/> height="130" alt=""/> > > If the long image is wrapped in a paragraph or an empty paragraph > inserted between the two images they then both float left. Yes, floats act as floats, and in order to prevent them from trying to line up alongside preceding floats we

Re: [css-d] Negative margins for image overflow

2008-09-09 Thread Tim Dawson
Gunlaug Sørtun wrote: > Mike Breiding wrote: > >> > alt=""/> > height="130" alt=""/> >> >> If the long image is wrapped in a paragraph or an empty paragraph >> inserted between the two images they then both float left. > > Yes, floats act as floats, and in order to prevent them from trying to >

[css-d] How do you exclude hover from image links

2008-09-09 Thread Kamru Miah
Hello, Please advise me how to exclude the 'a:hover' below from image links (i.e. only add hover on text links). a:hover { color: #ff; background: #b0e0e6; } Is the above problem something to do with the use of 'inherit' property? Many Thanks Kamru -- ___

Re: [css-d] Negative margins for image overflow

2008-09-09 Thread Philippe Wittenbergh
On Sep 9, 2008, at 8:49 PM, Tim Dawson wrote: > Perhaps this is a good opportunity to ask a question that's puzzled > me for a > while. Can you have both a 'float' and a 'clear' in the same style ? > Georg seems to be saying you can. Is the order of the rules is going > to make a > differen

Re: [css-d] Negative margins for image overflow

2008-09-09 Thread Gunlaug Sørtun
Mike Breiding wrote: > I added 'clear: left' to the rules for the '.leftImg' class. This > does the job in FF, but in IE 6 it forces the first paragraph to the > far right into a very narrow column. That's because you have a 'width' on paragraphs, which to IE/win means 'hasLayout'[1] and non-stan

Re: [css-d] How do you exclude hover from image links

2008-09-09 Thread Gunlaug Sørtun
Kamru Miah wrote: > Please advise me how to exclude the 'a:hover' below from image links > (i.e. only add hover on text links). > > a:hover { color: #ff; background: #b0e0e6; } You have to add a class to the links surrounding the images, and apply a more suitable hover styles (for images) t

Re: [css-d] How do you exclude hover from image links

2008-09-09 Thread Vincent Pollard
You could add: img {border:none;} -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kamru Miah Sent: Tuesday, September 09, 2008 7:29 AM To: css-d@lists.css-discuss.org Subject: [css-d] How do you exclude hover from image links Hello, Please advise me how

Re: [css-d] How do you exclude hover from image links

2008-09-09 Thread Kamru Miah
In my situation, seems to exclude the hover colour from the image links. Thanks to both for your help! Kamru Vincent Pollard wrote: > You could add: > > img {border:none;} > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Kamru Miah > Sent: T

[css-d] Rounding errors with em units

2008-09-09 Thread Bobby Jack
Hi all, I'm working on a layout in which I need to specify width, margins, in fact, almost every measure, in 'em's. Great, I've chosen to go this route, but have quickly run into problems, namely rounding errors, predominantly in IE. It turns out that Aem + Bem != (A+B)em - at least, at certain

[css-d] Unknown Margin on Image

2008-09-09 Thread Professional Web Pages - Information
To whom it may apply, Would you please be able to provide some assistence with an issue we are having. The majority of linked images on the website - for some reason appears to have an approximate 4 pixel margin at the bottom of the image and the border and I am unable to track it down. The pa

Re: [css-d] Rounding errors with em units

2008-09-09 Thread Gunlaug Sørtun
Bobby Jack wrote: > It turns out that Aem + Bem != (A+B)em - at least, at certain > font-sizes - which is incredibly frustrating. Does anyone have a good > way of working around this and/or an idea of the scope of the > problem? Browsers don't agree on at what point rounding of font-sizes in pe

[css-d] Nested Lists, Rollovers

2008-09-09 Thread Christopher Kip
Trying to figure out a way around this problem. I have a list where I want the main part to be a link and another list inside. Works fine in Safari and IE but not in Firefox, presumably due to the a tag. Here is URL: http://www.stkelectronics.com.vhost.zerolag.com/site/polypropylene- old

Re: [css-d] css photo gallery with hover thumbnails

2008-09-09 Thread tedd
At 7:44 AM +1000 9/1/08, jasmin wrote: >I have a question re a photo gallery that contains thumbnail images that >enlarge when the mouse hovers over the thumbnails. Is it possible to >display one of these enlarged images when the page is first loaded so that >the image is displayed rather than non

Re: [css-d] Nested Lists, Rollovers

2008-09-09 Thread Jack Timmons
On Tue, Sep 9, 2008 at 5:42 PM, Christopher Kip <[EMAIL PROTECTED]>wrote: > Trying to figure out a way around this problem. I have a list where > I want the main part to be a link and another list inside. Works > fine in Safari and IE but not in Firefox, presumably due to the a > tag. Here is U

[css-d] "drop-up" menu issue on ie

2008-09-09 Thread gurra
I'm working on the coding of a site designed by someone else. The "drop-up" menu should align-left with the nav item it relates to, but in IE it is too far right. What am I overlooking? http://raydunetz.com/index.php I recognize that the design breaks if you size up the font. I've pointed it

Re: [css-d] "drop-up" menu issue on ie

2008-09-09 Thread Gunlaug Sørtun
[EMAIL PROTECTED] wrote: > The "drop-up" menu should align-left with the nav item it relates to, > but in IE it is too far right. What am I overlooking? That IE has another default for 'left: auto' than other browsers. Proper positions are needed. > http://raydunetz.com/index.php Create a rela

[css-d] Problem with FireFox 3 on a Mac

2008-09-09 Thread Tom Dell'Aringa
Hello, I've designed a fairly simple site that seems to work fine everywhere except for FireFox 3 on the mac. There seems to be a one or two pixel spacing issue with the menu, causing the background to raise up and mess things up. The site can be seen here http://houstoninlinemarathon.com/ If yo

[css-d] form overflow problem in Window IE

2008-09-09 Thread Jeffrey Huang
when I view this page in Window IE: http://www.duoeurojapanese.com/test/pgcatering.html The form is not contained in the outside "container". How do I make the form "overflow" like the text on right side/ Please help. thanks. the css for this page is: @import "main.css"; #container { margin

Re: [css-d] Unknown margin on image

2008-09-09 Thread jessie taylor
the problem seems to be the li itself, perhaps if you were to specify a height on #CntBody ul.ImageThumbs li -- Jessie Taylor *interning at EliteSEM Inc. www.cro2.com __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org

[css-d] gap between list items

2008-09-09 Thread Darren Campbell
Hi guys I built a drop down list and just can't seem to get rid of the gap between menu items. Been trying to apply the usual gap between list item fixes for IE but it doesn't seem to be working. Just hover over South America or Central America in IE 6, or IE 7. http://www.timdaly.net/sato/

Re: [css-d] Problem with FireFox 3 on a Mac

2008-09-09 Thread David Laakso
Tom Dell'Aringa wrote: > I've designed a fairly simple site that seems to work fine everywhere except > for FireFox 3 on the mac. > http://houstoninlinemarathon.com/ > > > Tom > Does this close it? .float-wrap {margin-top: -2px;} (not tested) -- A thin red line and a salmon-color amper

Re: [css-d] Problem with FireFox 3 on a Mac

2008-09-09 Thread Philippe Wittenbergh
On Sep 8, 2008, at 11:17 PM, Tom Dell'Aringa wrote: > I've designed a fairly simple site that seems to work fine > everywhere except > for FireFox 3 on the mac. There seems to be a one or two pixel > spacing issue > with the menu, causing the background to raise up and mess things > up. The

Re: [css-d] form overflow problem in Window IE

2008-09-09 Thread Gunlaug Sørtun
Jeffrey Huang wrote: > when I view this page in Window IE: > > http://www.duoeurojapanese.com/test/pgcatering.html > > The form is not contained in the outside "container". How do I make > the form "overflow" like the text on right side/ By deleting every single instance of 'position: relative'

[css-d] List items in columns

2008-09-09 Thread Jim
Is there any way to lay out list items as follows, without using tables (won't look right unless you view email as plain text): * CPU: 2 x Xeon 5130 * RAM: 8 GB * STORAGE: 330 GB The thing that drives me nuts with using tables in this example is that it requires such a lot of

Re: [css-d] List items in columns

2008-09-09 Thread Gunlaug Sørtun
Jim wrote: > Is there any way to lay out list items as follows, without using tables > (won't look right unless you view email as plain text): > > > * CPU: 2 x Xeon 5130 > * RAM: 8 GB > * STORAGE: 330 GB > > The thing that drives me nuts with using tables in this example is tha

Re: [css-d] List items in columns

2008-09-09 Thread Zach Shepherd
I'm not sure if it's quite what you want, but you could use something like: LABEL:VALUE ... with css specifying a width for label in ems (and other styling, of course). Zach On Wed, Sep 10, 2008 at 00:35, Gunlaug Sørtun <[EMAIL PROTECTED]> wrote: > Jim wrote: > > Is there any way to lay out

[css-d] 1/ h-nav issue ( all browsers) 2/ painting bkgrd (ie/6)

2008-09-09 Thread David Laakso
1/ The horizontal nav "boxes" break in narrower windows-- particularly with font-scaling, or if a healthy minimum font-size is set. This happens in /any/ browser. Relevant selector at top of embedded styles. 2/ The middle panel is not painting the background color to the footer in IE/6. See st

Re: [css-d] 1/ h-nav issue ( all browsers) 2/ painting bkgrd (ie/6)

2008-09-09 Thread Philippe Wittenbergh
On Sep 10, 2008, at 1:45 PM, David Laakso wrote: > 1/ The horizontal nav "boxes" break in narrower windows-- particularly > with font-scaling, or if a healthy minimum font-size is set. This > happens in /any/ browser. Relevant selector at top of embedded styles. What do you mean 'break' ? Box

Re: [css-d] 1/ h-nav issue ( all browsers) 2/ painting bkgrd (ie/6)

2008-09-09 Thread Philippe Wittenbergh
On Sep 10, 2008, at 2:02 PM, Philippe Wittenbergh wrote: >> 1/ The horizontal nav "boxes" break in narrower windows-- >> particularly >> with font-scaling, or if a healthy minimum font-size is set. This >> happens in /any/ browser. Relevant selector at top of embedded >> styles. > > What do

Re: [css-d] 1/ h-nav issue ( all browsers) 2/ painting bkgrd (ie/6)

2008-09-09 Thread David Laakso
Philippe Wittenbergh wrote: > On Sep 10, 2008, at 1:45 PM, David Laakso wrote: > > >> 1/ The horizontal nav "boxes" break in narrower windows-- particularly >> with font-scaling, or if a healthy minimum font-size is set. This >> happens in /any/ browser. Relevant selector at top of embedded st

Re: [css-d] List items in columns

2008-09-09 Thread Jim
It's an extremely static page. Even with 100's of items, it's not woth setting up a database just for the sake of generating the markup. - Original Message - From: "Alan K Baker" <[EMAIL PROTECTED]> To: "Jim" <[EMAIL PROTECTED]> Sent: Tuesday, September 09, 2008 9:35 PM Subject: Re: [c

Re: [css-d] List items in columns

2008-09-09 Thread Jim
I was under the impression that you couldn't set a width on an inline element. - Original Message - From: "Damien" <[EMAIL PROTECTED]> To: "Jim" <[EMAIL PROTECTED]> Sent: Tuesday, September 09, 2008 9:23 PM Subject: Re: [css-d] List items in columns > You could put a or something in

Re: [css-d] 1/ h-nav issue ( all browsers) 2/ painting bkgrd (ie/6)

2008-09-09 Thread David Laakso
Philippe Wittenbergh wrote: > On Sep 10, 2008, at 2:02 PM, Philippe Wittenbergh wrote: > > >> >> What do you mean 'break' ? >> > > Ah, I see know what Opera does… > .c1 li {display:inline-block;} > And style from there. > > For IE6/7: .c1 li {display:inline; zoom:1;} > > > Philippe > r

Re: [css-d] Unknown Margin on Image

2008-09-09 Thread Rees, Mark
To whom it may apply, Would you please be able to provide some assistence with an issue we are having. The majority of linked images on the website - for some reason appears to have an approximate 4 pixel margin at the bottom of the image and the border and I am unable to track it down. The pa

Re: [css-d] List items in columns

2008-09-09 Thread Rees, Mark
You can if you set it to display:block. Then, of course, it is no longer an inline element OT really but this looks like a definition list to me, why not use that markup? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jim Sent: 10 September 2008 06:19 To: