|
| |
[Help!] Can I place a condition on an image in CSS header?
View related threads:
(in this forum
| in all forums)
|
Logged in as: Guest
|
|
|
WakonTonka
Posts: 63 Joined: 6/18/2003 From: Knoxville, TN USA Status: offline
|
[Help!] Can I place a condition on an image in CSS header? - 12/18/2003 16:35:32
Can I place a condition on an image in CSS header so that it does NOT show on the home page, but does show on all other pages? If so ... How do I do it?
_____________________________
“The whole of science is nothing more than a refinement of everyday thinking.” - Albert Einstein
|
|
|
|
Reflect
Posts: 4769 From: USA Status: offline
|
RE: [Help!] Can I place a condition on an image in CSS ... - 12/19/2003 8:08:53
I would on this one make a second header without the image and call that via an include call. <edit>I am moving this to the CSS forum for a second opinion.</edit> Brian
< Message edited by Reflect -- 12/19/2003 8:09:35 AM >
_____________________________
|
|
|
|
jaybee
Posts: 14157 Joined: 10/7/2003 From: Berkshire, UK Status: offline
|
RE: [Help!] Can I place a condition on an image in CSS ... - 12/19/2003 13:55:59
c1sissy You beat me to it, was going to suggest the same thing. Two css files and just link the one you want. Wish I could figure my header problem out as easily. Jaybee
|
|
|
|
c1sissy
Posts: 5084 Joined: 7/20/2002 From: NJ Status: offline
|
RE: [Help!] Can I place a condition on an image in CSS ... - 12/19/2003 15:28:39
quote:
ORIGINAL: jaybee LOL! OK, let's see if you can help with this one. I'm only just into css (so forgive me if I'm missing something really obvious) and have set up a global style sheet for all the formatting and it works great. Dead chuffed me! Have 133 pages on the site so will take a while to get it all changed before I upload. Now, problem. I have a logo.... and footers. I currently use shared borders. I've got round the left border by using margins. So fine there. I decided to do away with shared borders top and bottom for all sorts of reasons. Can't put the logo in the .css as it's right justified and that isn't compatible with earlier browsers (according to W3C). Tried a FP template, works but doesn't auto update all the pages when you do a change so that's out. Then looked at include. When I included the page, although it worked, I got a Bot....... trying to avoid Bots. So, what's the best way to get my header and footer right justified, viewable in all browsers in the right place and no bots? Not sure, I also am just learning this, about 11weeks into it? something like that. Did you try putting it into a div? Also what about using margins, I'm sure that you can use them for this as well? Here try this article and see how far you get with it. I searched for something to try to help you out a tad, I think that this just might help you.
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://directory.css-styling.com http://fmsforum.com http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
|
|
skip
Posts: 177 Joined: 12/9/2001 From: Missouri USA Status: offline
|
RE: [Help!] Can I place a condition on an image in CSS ... - 12/19/2003 22:44:11
quote:
Then looked at include. When I included the page, although it worked, I got a Bot....... trying to avoid Bots. why avoid bots? just curious, are they bad?
_____________________________
skip
|
|
|
|
jaybee
Posts: 14157 Joined: 10/7/2003 From: Berkshire, UK Status: offline
|
RE: [Help!] Can I place a condition on an image in CSS ... - 12/20/2003 7:11:08
Skip, No they're not bad I just want to stay away from FP specials wherever possible so that I can port the site anywhere without worrying about FP extensions.
|
|
|
|
fiachra
Posts: 338 Joined: 5/12/2002 From: Status: offline
|
RE: [Help!] Can I place a condition on an image in CSS ... - 12/20/2003 8:56:57
Use either frontpage includes or better yet real SSI tutorial on how to do SSI is here: www.bignosebird.com The included elements as part of the page will of course be subject to your style sheet.
_____________________________
www.peopleeatingtastyaliens.com
|
|
|
|
fiachra
Posts: 338 Joined: 5/12/2002 From: Status: offline
|
RE: [Help!] Can I place a condition on an image in CSS ... - 12/21/2003 13:10:16
I wouldn't worry too much about XML and XLST quite just yet if I were you. If you do properly formed and valid XHTML and CSS you're about 90% of the way to XML and XSLT anyway. I'd concentrate on immediately useful stuff like SSI and dare I say it PHP and PERL first after you you've got properly to grips with SSI. SSI is dead easy anyway - Here's a link or two from the Gorilla database to get you started. http://programminguni.com/tutorials.html http://www.techtutorials.info/sitemap.html (you'll have to scroll a bit) http://www.pcvoyager.com/ TTFN F
_____________________________
www.peopleeatingtastyaliens.com
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|