User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 391,722 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,091 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 3742 | Replies: 17
Reply
Join Date: Feb 2005
Posts: 427
Reputation: autocrat is on a distinguished road 
Rep Power: 4
Solved Threads: 12
autocrat autocrat is offline Offline
Posting Pro in Training

Re: Overfloat? IE6/win?

  #11  
Apr 5th, 2005
For the sake of example, I would like to have a white background, with a top and bottom bar and the four crv's all pink!

Does my previous explanation make sense?
For a live sample, look at.....

www.bokb.co.uk/test/m3/m3.html
Reply With Quote  
Join Date: Jul 2004
Location: Wales
Posts: 735
Reputation: DaveSW is on a distinguished road 
Rep Power: 6
Solved Threads: 17
DaveSW's Avatar
DaveSW DaveSW is offline Offline
Master Poster

Re: Overfloat? IE6/win?

  #12  
Apr 5th, 2005
I don't have the colors right here, but see the attached zip file for the way I think I'd do it.

For some reason I've been trying to get a min-width thing to work on it - did you want that or have I got mixed up with someone else?

If you take out the hr tags (for the min-width), then it works perfectly. Otherwise it needs some tweaking.
Attached Files
File Type: zip autocrat.zip (2.0 KB, 1 views)
Reply With Quote  
Join Date: Feb 2005
Posts: 427
Reputation: autocrat is on a distinguished road 
Rep Power: 4
Solved Threads: 12
autocrat autocrat is offline Offline
Posting Pro in Training

Re: Overfloat? IE6/win?

  #13  
Apr 5th, 2005
The min-width is also me.... I actually have a way of making ie work just like NN and MFF..... stopping the float from carrying on across the page.... you ned a PX margin on the left, a % margin on the right, and <!-- --> tage at the top of the HTML doc before the Doc type!
Reply With Quote  
Join Date: Jul 2004
Location: Wales
Posts: 735
Reputation: DaveSW is on a distinguished road 
Rep Power: 6
Solved Threads: 17
DaveSW's Avatar
DaveSW DaveSW is offline Offline
Master Poster

Re: Overfloat? IE6/win?

  #14  
Apr 5th, 2005
Do you really need a min-width on it? small screen devices like pda's render without your stylesheets, so unless someone has their browser window squashed into a tiny box, you should be ok.
Reply With Quote  
Join Date: Feb 2005
Posts: 427
Reputation: autocrat is on a distinguished road 
Rep Power: 4
Solved Threads: 12
autocrat autocrat is offline Offline
Posting Pro in Training

Re: Overfloat? IE6/win?

  #15  
Apr 5th, 2005
By th by... how comes 1) the lesser amount of div's? 2) background: #ff3366 url(br.gif) 100% 100% no-repeat; ??? what do the %'s refer to?
Reply With Quote  
Join Date: Jul 2004
Location: Wales
Posts: 735
Reputation: DaveSW is on a distinguished road 
Rep Power: 6
Solved Threads: 17
DaveSW's Avatar
DaveSW DaveSW is offline Offline
Master Poster

Re: Overfloat? IE6/win?

  #16  
Apr 5th, 2005
I've split it into a top bar and a bottom bar. Hence 2 divs each.

The %'s position the corner image - this one is in the bottom right, so it's 100% accross and 100% down. The color then fills in the rest.

I guess it would work equally well with my original code.
The key change is that the images are no longer transparent, so the white area around the pink masks the pink background...
Reply With Quote  
Join Date: Feb 2005
Posts: 427
Reputation: autocrat is on a distinguished road 
Rep Power: 4
Solved Threads: 12
autocrat autocrat is offline Offline
Posting Pro in Training

Re: Overfloat? IE6/win?

  #17  
Apr 6th, 2005
ah..makes sense!¬ Not use to the short hand.... coul've sworn I read somehwhere that some browsers don't support some of the shorthand properties...(I think!).
As to the minwidth, I want things to pass as ok in 800x600 at least, if not as small as 640x480......that way it still looks good.......the amount of sites I've seen that when reduced on width look bad! things drop, overlap etc... just don't want that!
Reply With Quote  
Join Date: Jul 2004
Location: Wales
Posts: 735
Reputation: DaveSW is on a distinguished road 
Rep Power: 6
Solved Threads: 17
DaveSW's Avatar
DaveSW DaveSW is offline Offline
Master Poster

Re: Overfloat? IE6/win?

  #18  
Apr 6th, 2005
lol
I usually use @import to hide my code from version 4 browsers, and IE5 upwards supports shorthand, so I don't bother avoiding them.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb HTML and CSS Marketplace
Thread Tools Display Modes

Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 3:33 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC