View Full Version : Web template

10-15-2006, 05:09 PM
On my web www.rfsmutshack.com it is plain but in deamweaver it has al lines i want them on my site so i can see them how do i do that?

10-15-2006, 05:23 PM
You cannot have things like this:

<img src="file:///C|/Documents and Settings/Luke/Desktop/mm_spacer.gif"

They need to be valid relative paths or valid absolute server paths.

This type of thing is also no good:

<tr bgcolor="02021E">

These kind of references really should be done via style but, if you really want to use this deprecated method, it needs to be:

<tr bgcolor="#02021E">

There could be other problems.

10-15-2006, 05:27 PM
What you talking about i mean lines at the side like a box thats all i want is there a thing i can make to mdo that??

10-15-2006, 06:17 PM
I thought you said you could see them in DW.

10-15-2006, 06:47 PM
i can but i cant see them in my web browser i want to see them in my web browser

10-15-2006, 08:33 PM
OK, so let's see then. I don't use DW, but have used other WYSIWYG editors. What you see in the browser though, is governed by what the browser understands. The two things I pointed out (and there are others like them, as well as could be other errors of coding that are of a different sort) are things that the browser will not understand. The fact that the browser doesn't understand those things may or may not be directly related to what you want to see in the browser but are not seeing.

If the stuff you see in DW is layout and/or content, if it is correctly coded, it will appear in the browser as well. If it is just some kind of alignment grid that helps you to organize your content as you go about designing your page, you will need to find a way to render that look in the browser.

Since I have no way of knowing exactly what you are not seeing, I just went for the obvious, the code errors.

Incidentally, what the browser understands is a larger set of coding practices than what is considered valid. What I pointed out as errors, not even a browser would understand. However, it is better to code to valid standards, that way even browsers that do not make allowances as many do, will still render your content and layout as intended. Also when one browser makes allowances for invalid code, another may do so as well but, in a different way. With valid code the differences between browsers is much less.

10-15-2006, 09:30 PM
Its a alignment grid that helps me to organize your content but can you help me render it to my site?

10-16-2006, 05:18 AM
You can use the existing elements on your page to generate outlines by adding this or variations on it to the style section:

td, div, p, span, a {
border:1px solid red;

If you want less lines, get rid of some of the selectors (td, div, p, span, a). If you want different lines, you will need to create divisions or tables in and around your existing content that can support borders with your desired look.

Borders do not have to go all the way around an element, you can specify just:

border-top:2px solid gray;

for example, or border-left:, border-right:, border-bottom: or any combination of these.

It would probably be a good idea to read up on css style: