Help - Search - Members - Calendar
Full Version: Potential CSS Issue yet not CSS related
Invision Power Services > Community Forums > Community Web Design and Coding
zxsecure
Hi I have a client who I have made designs for which where fine until he added two mods, not knowing what these mods are it has seemed to add a extra css attribute to the skins:

CODE
<style type="text/css" media="all">table { width:100%; }
tr, td { padding:4px }</style>


this appears after the closing style of the skin css so we have the normal skin css and then the end tag and then this code, i have looked in the wrapper, the templates and the css for this tag yet i cannot locate it,

it is located before the
CODE
</head>


does anyone have any ideas as its making all the cells have a padding and doing my nutt.
ps this seems to have affected all skins, even the default.

thanks
Graham Barnes
Brendon Koz
I personally have no idea what-so-ever, however, if you care to spend the time to download ALL of your files from your host and use an editor that can open ALL files (or search within files regardless of whether they're open or not) and search for media="all" as it's not a very common thing to see in CSS, you could probably find where it's located.

That's what I'd do anyway.

Actually, if I had shell access, I'd do the search directly on the server.
IAIHMB
The media attribute does look a bit out of place, but it's completely valid. You just need to make sure that your CSS takes precedence over the CSS which you cannot find. Try using the !important rule in the desired skin set's stylesheet.
zxsecure
Hi thankyou for your replied i did actually download a few files but not all of them as it was late, we managed to find the issue in the end original.gif the file was called class_display.php which we edited, incase this happends to anyone else.

thanks though
Graham
Brendon Koz
QUOTE(IAIHMB @ Apr 20 2006, 03:45 AM) *
The media attribute does look a bit out of place, but it's completely valid. You just need to make sure that your CSS takes precedence over the CSS which you cannot find. Try using the !important rule in the desired skin set's stylesheet.

I don't think he was concerned about the validity, and neither was I. original.gif It was something that most people don't explicitly use in their CSS styles and so would have been a good thing to search for within files to find the specific file which was adding this CSS. But, I didn't think about the !important rule. Good suggestion.

P.S. - How's the weather in Florida now? It's starting to warm up in NY, but I'm sure it's still not anywhere near as nice as down there. sad.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.