SitePoint Sponsor |
|
User Tag List
Results 1 to 6 of 6
-
Jan 15, 2006, 17:01 #1
exclude portion of page from tag css styles
Is there anyway that i can remove all css styles from a specific table including styles like body, td, tr then still have the rest of the page use the css styles?
thanks
-
Jan 16, 2006, 03:36 #2
- Join Date
- Mar 2005
- Posts
- 239
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
Hmmm. Interesting. You mean a way to say table style=null (iyswim)?
I don't know. I usually just define exactly what I want such an element to have. If you null it then it will have no styles but I suppose you could then add what you needed without having to reset other things that you want as the default. This might be some special use of the inherit property but I don't know it and I don't see it over at W3C.
I hope someone has an answer for you as I'd like to know this too.
-
Jan 16, 2006, 04:55 #3
- Join Date
- May 2003
- Location
- Cambridge, UK
- Posts
- 2,366
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I suppose you could define default styles for a particular class:
Code:table { border: 1px solid #000; background: #eee; } table.null { border: 0 none; background: transparent; }
-
Jan 16, 2006, 09:06 #4
would that work for the body tag as well. I have some body attributes, and am wanting to nullify those for the single table.
i just thought of something. This is kind of an indirect way about it, but if you used iframe would that not be considered its own entity and would not have attributes from the original body tag unless you set the iframe css style so.
-
Jul 9, 2006, 20:23 #5
- Join Date
- Apr 2005
- Location
- New Zealand
- Posts
- 112
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Did anyone ever find a way to do this? I am having problems getting the Google Search box to work on my site
edit
nvmLast edited by BLazeD; Jul 10, 2006 at 02:10.
-
Jul 21, 2006, 06:46 #6
Are you wanting the Google box to disapear, or are you just trying to make it look nice without all that gunk.
it looks to me like your font size may be too big are you using pixel size or are you using reference +/- sizes for the font?
Ras
Bookmarks