•
•
•
•
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
![]() |
•
•
Join Date: Feb 2005
Posts: 427
Reputation:
Rep Power: 4
Solved Threads: 12
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
Does my previous explanation make sense?
For a live sample, look at.....
www.bokb.co.uk/test/m3/m3.html
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.
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.
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.
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...
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...
•
•
Join Date: Feb 2005
Posts: 427
Reputation:
Rep Power: 4
Solved Threads: 12
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!
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!
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.
I usually use @import to hide my code from version 4 browsers, and IE5 upwards supports shorthand, so I don't bother avoiding them.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
- Previous Thread: designing with em / ex ?
- Next Thread: Padding and margins


Linear Mode