This is a discussion on "Css Background problems" within the Web Page Design section. This forum, and the thread "Css Background problems are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Css Background problems
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Css Background problems
Is it possible to have a single CSS govern multiple pages that all have different backgrounds ??
I would like to not have to tag the background into the html if I can help it ... |
|
|
|
||||
|
Re: Css Background problems
body#pageID {}
for each page and in the HTML <body id="pageID"> this also makes it easier to control navigation based on per pages basis. i.e. #nav ul li a {} and then you could do something like #pageID #nav ul li a {} will work on any child of the body. etc etc
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
||||
|
Re: Css Background problems
yes, just set up different id's for your backgrounds then n your code ensure you pull through the appropriate id into the body tag
ie.
__________________
WelshStew Lead Administrator tierney rides tboard - uk site | xtreme wales - extreme clothing If you think I've helped, click the "Thanks" webforumz - facebook | LinkedIn
Last Blog Entry: Web Standards Curriculum Launched (Jul 8th, 2008)
|
|
|||
|
Re: Css Background problems
hmmm ... dont know what i'm doing wrong ... it's not working ....
sorta tried to follow welsh's instructions .... will hav to play with it some more. |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Background | Oak | Graphics and 3D | 12 | Mar 2nd, 2008 00:37 |
| Problems with the background | sbogde | Web Page Design | 4 | Feb 6th, 2008 13:18 |
| Background color problems with relative positioning | kirkham85 | Web Page Design | 3 | May 12th, 2007 22:53 |
| Aligh and background problems with Opera and Firefox | KiReSt | Web Page Design | 1 | Jun 26th, 2006 20:08 |
| Background and Resolution compatibility, My background gets cut off | Funion | Web Page Design | 1 | Dec 4th, 2005 04:42 |