BTW, shouldn’t this be in the Web Design and Development forum?
Anyways, do you have a CSS stylesheet? Maybe that’s it. Link to your site --- I/someone else can debug it easier that way.
Are you using a demo template? If so you may be getting some css issues.
I don’t think that Modx itself will effect any style attributes. I usually use the web developer toolbar in firefox to debug css issues.
-
☆ A M B ☆
- 24,524 Posts
Did you try putting
a {text-decoration:none;} in your CSS file?
You have a:link defined in your document’s <style> section and again in your .css file (/css/c.css). You also have a reference to a:link’s bottom border in your conditional comment for browsers lte IE6 which IE6 will process. Try having just one definition of a:link where you specify all the attributes you want it to have.
Generally, it’s a bad idea to have a .css file and style info in your document unless you have a specific reason for doing it that way.
Bob
i removed this from the base template and it works now, was that originally part of modx? If it wasn’t already there maybe I copy pasted and didn’t even realized it.
<!--[if lte IE 6]>
<style type="text/css" media="screen, tv, projection">
body { behavior: url(assets/js/csshover.htc); } /* hover:anything support */
#content { margin-left: 22px; } /* to avoid the BMH */
a, a:link { border-bottom-style: solid } /* becuase IE just doesn’t dot */
</style>
<script type="text/javascript" src="assets/js/sleight.js"></script>
<![endif]-->
It’s in the MODx default template but I’m not sure why. I don’t think IE6 needs all that but I could be wrong.
You might try changing "lte" to just "lt":
That way it won’t effect IE6.
Bob
-
☆ A M B ☆
- 24,524 Posts
That CSS is specific to one of the default templates. You’ll definitely want to get rid of it if you don’t want your links underlined.
good to know thx, i removed it and haven’t had any other problems so far