This is a discussion on "CSS and includes" within the Web Page Design section. This forum, and the thread "CSS and includes are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
CSS and includes
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
CSS and includes
Can anyone help? I am using a third party image gallery on my site that is CSS driven on the layout. When I add my banner and navigation bar to the page using php include as I have on all the other pages, the CSS for the gallery messes up my menu (DHTML) and the table in my banner.
My question is, can I hide the navbar and banner from the CSS for the gallery so I doesnt change my layout. I thought about using frames, but that is old school isnt it? Update - have tried IFRAME - rubbish Thanks Guys |
|
|
|
|||
|
This sounds more of a css error. I would double check your style.css to see if everything is correct. And then check to see if this correctly put in the header.php of your includes:
<link rel=stylesheet href="/styles.css" type="text/css"> If that doesn't work, it could be your browser. A lot of sites tend to look weird under Mozilla Firefox (e.g. things are placed incorrectly and the colors are wrong), though they look fine in Internet Explorer. |
|
|||
|
CSS and includes
I hear what your saying, but, the CSS is doing what it is supposed to on the content on the image gallery, but I dont want it to affect my header and navbar.
For example the CSS sets the size of images to 150px which is OK for the gallery, but my navbar has image spacers which should be 3px wide but are being set to 150px |
|
|||
|
css and includes
The navbar doesnt have any css styles. This is a very simple DHTML menu. The banner has one style only for the text and this is reproduced on the gallery CSS. The biggest problem is the images on the nav bar being expanded.
you can see the problem page here: http://www.genetic-gems.com/gallery/index.php and how it should look here: http://www.genetic-gems.com/pages/index.php Update: when veiwed with Firefox - everything is perfect!!!! Obviously some issues with Navigator/IE |
![]() |
| Tags |
| css, includes |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| xsl includes | sconard | Other Programming Languages | 0 | Aug 24th, 2006 13:11 |
| PHP Includes | lesleindotcom | PHP Forum | 3 | May 31st, 2006 20:54 |
| PHP Includes | daygon | PHP Forum | 5 | Mar 16th, 2006 01:59 |
| Further Help with Includes | freebirdnz | Classic ASP | 3 | Aug 5th, 2004 13:48 |
| Help with includes. | freebirdnz | Classic ASP | 5 | Aug 3rd, 2004 14:38 |