English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

how can you change your template width when you have nothing that says width or current size. (div)

2006-11-15 14:27:13 · 2 answers · asked by mike 2 in Computers & Internet Programming & Design

2 answers

A

will inherit the default value of 100% wide of its parent container. So there may not be a width assiged if the template is using the default value.

You need to identify, from the HTML code, what the id or class is of the div that you wish to adjust width. Then you need to modify the CSS stylesheet for that object(s) with the width attribute.

Example - Class
.page_div {
width: 50%
}

OR

.page_div {
width: 770px;
}


Example - ID
#page_div {
width: 50%;
}

OR

#page_div {
width: 770px;
}

If you cannot find a class or ID attribute in the div's tag, you may have to find its parents class/id.

Example

.parent_class div {
width: 50%;
}

#parent_class div {
width: 50%;
}

2006-11-15 14:46:58 · answer #1 · answered by Chris B 4 · 0 0

If you can send me the source code of your template, I could help you out with the width of the template.

2006-11-16 02:52:47 · answer #2 · answered by Janice 3 · 0 0

fedest.com, questions and answers