GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   CSS help (https://gfy.com/showthread.php?t=1074370)

Mutt 07-12-2012 08:28 AM

CSS help
 
I have a design that comes with a CSS style sheet that styles different tables - my problem is that I want to do a table WITHOUT any styling whatsover but whatever I've tried this table keeps picking up its styling from the style sheet.

i tried adding a new table ID in the style sheet which has no styling

table#nostyle{
}

then table id="nostyle"

but that doesn't do anything.

grrrrrrrrrrrrrrr..................

Voodoo 07-12-2012 08:30 AM

Do you have an IM? I may be able to help. Sounds pretty quick.

just a punk 07-12-2012 08:36 AM

You have to explicitly reset (override) all styles there. E.g.:

table#nostyle {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
vertical-align: baseline;
}

kazymjir 07-12-2012 08:37 AM

Try this: http://snipplr.com/view/7438/

fris 07-12-2012 01:20 PM

you will also have to set the td, tr, dd, etc styles

the stylesheet probably has a default table,td,tr {} setting thats why its taking the values from there.

ottopottomouse 07-12-2012 01:26 PM

Quote:

Originally Posted by Mutt (Post 19055392)
i tried adding a new table ID in the style sheet which has no styling

table#nostyle{
}

then table id="nostyle"

but that doesn't do anything.

Needs values in or it will just take them from whatever it sits inside of.

Mutt 07-12-2012 04:24 PM

Voodoo helped me - awesome guy :thumbsup

Deej 07-12-2012 04:41 PM

That he is! Quicker than me too ;) THATS WHAT SHE SAID!

what.. what!?

Voodoo 07-12-2012 05:03 PM

Quote:

Originally Posted by Mutt (Post 19056053)
Voodoo helped me - awesome guy :thumbsup

Thanks! :) I'm happy to help.

machinegunkelly 07-12-2012 05:12 PM

Quote:

Originally Posted by fris (Post 19055808)
you will also have to set the td, tr, dd, etc styles

the stylesheet probably has a default table,td,tr {} setting thats why its taking the values from there.

yeah sounds like the table was just targeted like


table { whatever here }

thats the problem with these template sites, most of them have big time amateur errors like this, make working with them a real pain


All times are GMT -7. The time now is 07:08 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123