Just text with no tags... in the body.
All browsers render the below css. These are basic tags, so I am not sure why its not working or I am entering it wrong for the control. I enter the below style tag in the BaseStylesheet properties section.
For the control I using it like this and it doesn't work.
It seems like it does have html and body tags as my other html and css work for targeting the li tags etc. And those list items are in li tags, I have other content on the same control but am unable to target it with css.
All browsers render the below css. These are basic tags, so I am not sure why its not working or I am entering it wrong for the control. I enter the below style tag in the BaseStylesheet properties section.
For the control I using it like this and it doesn't work.
<style type="text/css">
body {
font-size: 20px;
}
li {
line-height: 35px !important;
}
</style>
If I use this my li tag sizes work... so basically I am unable to target anything without inside the body or without its own html tag.<style type="text/css">
span, ul, li {
font-size: 20px;
}
li {
line-height: 35px !important;
}
</style>
Here are a couple examples that browsers render this should set content in body to 20px...<html>
<head>
<style type="text/css">
body{font-size:20px;}
</style>
</head>
<body>
<h1>This is an H1 Tag</h1>
This is text with no tag...
</body>
</html>
This would set all tags to default 40px...<html>
<head>
<style type="text/css">
*{font-size:40px;}
</style>
</head>
<body>
<h1>This is an H1 Tag</h1>
This is text with no tag...
</body>
</html>
Let me know if thats enough to understand whats happening. Maybe this isn't a problem? I am just entering HTML from a DB, so maybe the control doesn't append your html to an html and body tag? Or does it? As I am not including the html or body tags anywhere as I assumed the control has that by default etc. If not does the control itself have its own tag?It seems like it does have html and body tags as my other html and css work for targeting the li tags etc. And those list items are in li tags, I have other content on the same control but am unable to target it with css.