CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 1st, 2004, 03:44 PM
Tommieboy's Avatar
Tommieboy Tommieboy is offline
Controlfreak
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Netherlands
Posts: 32 Tommieboy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via ICQ to Tommieboy Send a message via MSN to Tommieboy
Get Css to only apply to specific content

Hi,
I have a weird litlle problem here...

I have embedded a forum (invision) in my website. This forum uses a stylesheet for all its settings (duh).
I can choose if I want to use it inline or external.
Offcourse, my site also has its own stylesheet to work with.

Because the forum code is on a <div > in my site, the css from the forum messes up my site.

Is it possible to get the forum stylesheet to be only applicable inside the layer that it's on? Inline or linked?

I tried using an iframe instead of a div, but that gives a heap of other trouble (especially cookie-related) so that's not an option...
__________________
"You are not drunk if you can lie on the floor without holding on"

Reply With Quote
  #2  
Old April 1st, 2004, 06:17 PM
Akh's Avatar
Akh Akh is offline
|<.+#f@#+.&.|
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Mar 2002
Location: norway
Posts: 2,688 Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 4 Weeks 7 h 1 m 40 sec
Reputation Power: 600
if you place the forum in a div with a id you can refer all the forums css by placing the id infront of the style.

Code:
simplified example
like 

<div id="forum">
	<div> this is the forum</div>
</div>

then in css. 

#forum div {
        some:style;
}

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > Get Css to only apply to specific content


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT