darkoshi: (Default)
This explains why my HTML and CSS tags weren't working right on the Dreamwidth profile page.

To maximize cross-browser compatibility and make the site more accessible for people with disabilities, we use CSS (Cascading Style Sheets) to strip all browser default styling from many HTML tags on site-skinned pages.

The default CSS used on the page seems to override any non-CSS formatting attributes which you might include, and if you include any CSS "style" attributes, they get stripped out.

That said, if you include an "img" tag with class="profile", it will use these CSS settings:

.profile {
float: left;
margin-right: 70px;
}


thereby letting your text float to the right of the image, with a padding of 70 pixels between them.


On a rather unrelated note, here are some interesting floating staircases.

Date: 2012-03-28 04:30 pm (UTC)From: [personal profile] bl1nds33r
bl1nds33r: (GL33!)
Thanks so much! This explanation was really helpful. ^__^

Date: 2012-02-24 06:12 pm (UTC)From: [identity profile] fragilistikal.livejournal.com
Hiya! Do you do webpage design? I have someone on my flist who's been struggling with her portfolio and is asking for advice...

January 2026

S M T W T F S
     123
45678910
11121314 15 1617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Thursday, January 22nd, 2026 12:04 am
Powered by Dreamwidth Studios