/    Sign up×
Community /Pin to ProfileBookmark

Separating Style from Content – HELP!

I’m using freewebs, and was wondering if it was possible to ‘separate style from content’ on Freewebs. Obviously, my site is in HTML, but I can only find information about separating style from content in PHP.

to post a comment
HTML

5 Comments(s)

Copy linkTweet thisAlerts:
@Glance11authorAug 30.2007 — I'm still extremely baffled about all of this. I've got a new site, and have the index page and style sheet. How exactly do I take the information from the index page and place it in the style sheet.

The layout of this site - http://www.freewebs.com/theonewith/alist/, is what I'm hoping to do. (as you can see - the main body is separate from the navigation and banner)
Copy linkTweet thisAlerts:
@FangAug 30.2007 — Content is the text in HTML elements and images

Style, in the CSS, is how the text and images visually appear on the page position, color, size, etc.
Copy linkTweet thisAlerts:
@ray326Aug 30.2007 — The first thing you have to do is understand what your content IS and mark it up with correct semantics. In general what I see there are a bunch of headings an lists with a handful of paragraphs.
Copy linkTweet thisAlerts:
@rooshk34Aug 30.2007 — If you want a good example of separating style from content check out http://www.csszengarden.com.

It doesn't really provide tutorials, but you can download their css and html files. I've learned how to do a few things by checking out their code.
×

Success!

Help @Glance11 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.3,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...