/    Sign up×
Community /Pin to ProfileBookmark

padding not working in Firefox or IE

i have now decided to supply the full code for the whole page in case something else in my page is causing the problems…

i have managed to get so far but now i can not get a padding in side the middle section of the speech bubble to have the text in it, when i change the padding the page goes weird and does not show the same view in IE either.

can anyone please suggest a way to get around this.

quote: i did try the suggestion above from HAKU but this too messed up the page as well like when i change the values of the padding from 0px to something else like 5px or 10px on the left and right of the middle bubble image box.

also i have new images…

[code]
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”>
<html>
<head><title></title>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″>
<style type=”text/css”>
/* CSS Document */

/* Standard View CSS */
body { margin: 0; padding: 0; }
#body_container { padding: 0; margin: 0 auto; width: 700px; }
#header_container { padding: 0; margin: 0; width: 700px; height: 141px; background-color: #6193BF; }
#header_welcome_to { font-weight: normal; font-size: 2em; line-height: 1em; }
#header_sitename { font-weight: normal; font-size: 5em; line-height: 1em; }
#header_sub { font-weight: normal; font-size: 1.05em; font-weight: bold; line-height: .5em; color: #99FFFF; }
#header_powered { font-size: .7em; line-height: 3.6em; }
#logo { float: left; background-image:url(images/logo.png); width: 136px; height: 139px; background-repeat: no-repeat; }

#left { float: left; }
#right { float: right; }
input { font-size: 8pt; color: #333333; background-color: #FFFFFF; }
div.center { text-align: center; }
option.center { text-align: center; }
a.nd { text-decoration: none; }
#loginbox_message { color: #FF6600; }
#loginbox { float:left; padding-top: 30px; width:140px; /* the width here should be the same as the ‘maincontent’ id in ‘style_extras_not_logged_in.css’ file */ }
#loginbox_text { font-size: 9pt; color: #333333; text-align: left; }
#main_left_container { width:50%; float:left; overflow:auto; } /* */ /* the width should be the same as the width in the main_right_container */
#main_left_content { padding: 10px; } /* background: yellow; */
#main_right_container { margin-left:50%; } /* background: blue; */ /* the width should be the same as the width in the main_left_container */
#main_right_content { padding: 10px; } /* background: green; */
#menubar { text-align: center; color: #FF0000; padding: 0; margin: 0; }
#welcome_username { align: left; font-size: 30px; font-weight: bold; }
.clear { height: 0; font-size: 1px; margin: 0; padding: 0; line-height: 0; clear: both; }

#testimonial_text { text-align: justify; font-weight: normal; font-style: italic; font-size: 10pt; color: #333333; padding: 8px 8px 8px 8px; }
#testimonial_name { font-weight: bold; font-style: italic; font-size: 10pt; color: #333333; }

#text_size10pt { font-size: 10pt; color: #333333; }
#text_size15pt { font-size: 15pt; color: #333333; }

#list_arrow { padding-top: 4px; list-style-position:outside; list-style-image: url(images/bullet_arrow.jpeg) }

#bubble_container { padding: 0; margin: 0 auto; width: 155px; }
#bubble_top { border: 1px solid #555555;margin: 0 auto; height: 15px; width: 100%; background: url(images/speech%20bubbles%20-%20top.png) no-repeat; background-position: center; }
#bubble_mid { border: 1px solid #555555;margin: 0 auto; text-align: justify; width: 100%; padding: 0 0px 15px 0px; background: url(images/speech%20bubbles%20-%20center.png) repeat-y; background-position: center; font-size: 9pt; line-height: 12px; }
#bubble_bot_left { border: 1px solid #555555;margin: 0 auto; height: 17px; width: 100%; background: url(images/speech%20bubbles%20-%20bottom_left.png) no-repeat; background-position: center; }
#bubble_bot_right { border: 1px solid #555555;margin: 0 auto; height: 17px; width: 100%; background: url(images/speech%20bubbles%20-%20bottom_right.png) no-repeat; background-position: center; }
#about_fix_left { float: left; padding: 10px 0 0 25px; font-size: 8pt; }
#about_fix_right { float: right; padding: 10px 25px 0 0; font-size: 8pt; }

#username_left { text-align: left; font-size: 15px; font-weight: bold; }
#username_right { text-align: right; font-size: 15px; font-weight: bold; }

/* top right bottom left */

/*
.blinking { text-decoration: blink; }
*/

/* Chat View CSS */
#chat_container { padding: 0; margin: 0 auto; width: 699px; }
#div_chat { height: 300px; width: 500px; overflow: auto; background-color: #CCCCCC; border: 1px solid #555555; }
#txt_message { width: 447px; }
#admin_user { font-weight: normal; font-size: 20px; }
#admin_message { font-weight: normal; font-style: italic; font-size: 20px; color: #990099; }
#chat_time { font-weight: normal; font-style: italic; font-size: 9px; }
#user { font-weight: normal; font-style: italic; font-size: 20px; }
#user_list { float: left; height: 290px; width: 100px; overflow: auto; background-color: #DDDDDD; padding: 3px; margin: 3px; }

/* Mobile View CSS */
#mobile_txt_message { width: 180px; }
#mobile_div_chat { height: 200px; width: 200px; overflow: auto; background-color: #CCCCCC; border: 1px solid #555555; }

#maincontent { padding-left:140px; /* the width here should be the same as the ‘loginbox’ id in ‘style.css’ file */ }
</style>
</head>
<body>
<div id=”body_container”>
<div id=”header_container”>
<div id=”logo”></div>
<div><strong id=”header_welcome_to”>Welcome to </strong><strong id=”header_sitename”>site</strong>

</div>
<div><strong id=”header_sub”>&nbsp;text</strong>
</div>
<div>&nbsp;</div>
<div><strong id=”header_powered”>text</strong>
</div>
</div>
<div id=”menubar”>
<a href=”?” class=”nd”><em>Home</em></a>
</div>
<div id=”loginbox”>
<form name=”loginbox” method=”post” action=”auth.php”><div id=”loginbox_text”>Username<br><input size=”20″ type=”text” name=”name”></div>
<div id=”loginbox_text”>Password<br><input name=”password” type=”password” size=”20″></div>
<div class=”center”><input type=”submit” value=”Log In” name=”login”><input type=”reset” value=”Reset” name=”reset”></div>

<div class=”center”><a href=”?”>forgot password</a></div>
</form>
</div>
<div id=”maincontent”>
<div id=”main_left_container”>
<div id=”main_left_content”>
some info here<br><br><br>
some info here<br><br>
some info here<br><br>
<br><br>
</div>
</div>
<div id=”main_right_container”>
<div id=”main_right_content”>
<div class=”center”><strong id=”text_size15pt”>What users say</strong></div>

<div id=”bubble_container”>
<div id=”bubble_top”></div>
<div id=”bubble_mid”>big thank you! cheers to
you…<div id=”about_fix_right”><a href=”?fid=1″ class=”nd”>more info</a></div>
</div>
<div id=”bubble_bot_left”></div>
<div id=”username_left”>name</div>
</div>
<br>

<div id=”bubble_container”>
<div id=”bubble_top”></div>
<div id=”bubble_mid”>big thank you! cheers to
you…<div id=”about_fix_right”><a href=”?fid=1″ class=”nd”>more info</a></div>
</div>
<div id=”bubble_bot_left”></div>
<div id=”username_left”>name</div>
</div>
<br>

<div id=”bubble_container”>
<div id=”bubble_top”></div>
<div id=”bubble_mid”>big thank you! cheers to
you…<div id=”about_fix_right”><a href=”?fid=1″ class=”nd”>more info</a></div>
</div>
<div id=”bubble_bot_left”></div>
<div id=”username_left”>name</div>
</div>
<br>

<div id=”bubble_container”>
<div id=”bubble_top”></div>
<div id=”bubble_mid”>big thank you! cheers to
you…<div id=”about_fix_right”><a href=”?fid=1″ class=”nd”>more info</a></div>
</div>
<div id=”bubble_bot_left”></div>
<div id=”username_left”>name</div>
</div>
<br>

<br>

<div class=”center”><div id=”text_size10pt”><a href=”?ac=te” class=”nd”>click here for more</a></div></div>
</div>
</div>
</div>
<div class=”clear”></div>
<br><br><br>
</div>
</body>
</html>

[/code]

[upl-file uuid=f12267aa-d51b-4dfc-82a6-d5774e48bb04 size=424B]speech bubbles – top.png[/upl-file]

[upl-file uuid=a94a2576-ff8d-4e17-9c1a-c761fc55b6ba size=134B]speech bubbles – center.png[/upl-file]

[upl-file uuid=e12371ca-3105-4633-b0f5-cc65e04f15f6 size=575B]speech bubbles – bottom_right.png[/upl-file]

[upl-file uuid=0771950f-f997-4a09-9cac-ceac06faf1e7 size=577B]speech bubbles – bottom_left.png[/upl-file]

to post a comment
CSS

7 Comments(s)

Copy linkTweet thisAlerts:
@FangMar 30.2010 — #bubble_mid {padding: 0 10px 15px 10px;}
Copy linkTweet thisAlerts:
@jasonc310771authorMar 30.2010 — Thank you for your reply.

Yes this is what i did have originally, but for some reason it works in IE but now oes not work in FireFox.
Copy linkTweet thisAlerts:
@KorMar 30.2010 — Try giving [B]all your divs[/B] a certain width, even percent.
Copy linkTweet thisAlerts:
@jasonc310771authorMar 30.2010 — KOR: I did try that also in my original code.

I am now getting somewhere but not showing the same in all browsers.

now this code is showing the bubble correctly in FireFox (3.6.2) with the border of the bubble joined. But not showing the same in IE (ver. 8).

the top part of the bubble seems to have a bottom padding of about 3 or more PX ? not sure where this is being coded to do this and the image is tight to the edge.

<i>
</i>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"&gt;
&lt;html&gt;
&lt;head&gt;&lt;title&gt;&lt;/title&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;
&lt;style type="text/css"&gt;
/* CSS Document */

/* Standard View CSS */
body { margin: 0; padding: 0; }
#body_container { padding: 0; margin: 0 auto; width: 700px; }
#header_container { padding: 0; margin: 0; width: 700px; height: 141px; background-color: #6193BF; }
#header_welcome_to { font-weight: normal; font-size: 2em; line-height: 1em; }
#header_sitename { font-weight: normal; font-size: 5em; line-height: 1em; }
#header_sub { font-weight: normal; font-size: 1.05em; font-weight: bold; line-height: .5em; color: #99FFFF; }
#header_powered { font-size: .7em; line-height: 3.6em; }
#logo { float: left; background-image:url(images/logo.png); width: 136px; height: 139px; background-repeat: no-repeat; }

#left { float: left; }
#right { float: right; }
input { font-size: 8pt; color: #333333; background-color: #FFFFFF; }
div.center { text-align: center; }
option.center { text-align: center; }
a.nd { text-decoration: none; }
#loginbox_message { color: #FF6600; }
#loginbox { float:left; padding-top: 30px; width:140px; /* the width here should be the same as the 'maincontent' id in 'style_extras_not_logged_in.css' file */ }
#loginbox_text { font-size: 9pt; color: #333333; text-align: left; }
#main_left_container { width:50&amp;#37;; float:left; overflow:auto; } /* */ /* the width should be the same as the width in the main_right_container */
#main_left_content { padding: 10px; } /* background: yellow; */
#main_right_container { margin-left:50%; } /* background: blue; */ /* the width should be the same as the width in the main_left_container */
#main_right_content { padding: 10px; } /* background: green; */
#menubar { text-align: center; color: #FF0000; padding: 0; margin: 0; }
#welcome_username { text-align: left; font-size: 30px; font-weight: bold; }
.clear { height: 0; font-size: 1px; margin: 0; padding: 0; line-height: 0; clear: both; }

#testimonial_text { text-align: justify; font-weight: normal; font-style: italic; font-size: 10pt; line-height: 12px; color: #333333; padding: 0px 8px 10px 8px; }
#testimonial_name { font-weight: bold; font-style: italic; font-size: 10pt; color: #333333; }

#text_size10pt { font-size: 10pt; color: #333333; }
#text_size15pt { font-size: 15pt; color: #333333; }

#list_arrow { padding-top: 4px; list-style-position:outside; list-style-image: url(images/bullet_arrow.jpeg) }

#bubble_container { padding: 0; margin: 0 auto; width: 155px; }
#bubble_top { margin: 0; width: 100%; height: 15px; background: url(images/speech%20bubbles%20-%20top.png) no-repeat; }
#bubble_mid { margin: 0; width: 100%; background: url(images/speech%20bubbles%20-%20center.png) repeat-y; background-color: #6193BF;}
#bubble_bot_left { margin: 0; width: 100%; height: 17px; background: url(images/speech%20bubbles%20-%20bottom_left.png) no-repeat; }
#bubble_bot_right { margin: 0; width: 100%; height: 17px; background: url(images/speech%20bubbles%20-%20bottom_right.png) no-repeat; }
#about_fix_left { float: left; padding: 0 0 0 25px; line-height: 8px; font-size: 8pt; }
#about_fix_right { float: right; padding: 0 25px 0 0; line-height: 8px; font-size: 8pt; }

#username_left { text-align: left; font-size: 15px; font-weight: bold; }
#username_right { text-align: right; font-size: 15px; font-weight: bold; }

/* top right bottom left */

/*
.blinking { text-decoration: blink; }
*/

/* Chat View CSS */
#chat_container { padding: 0; margin: 0 auto; width: 699px; }
#div_chat { height: 300px; width: 500px; overflow: auto; background-color: #CCCCCC; border: 1px solid #555555; }
#txt_message { width: 447px; }
#admin_user { font-weight: normal; font-size: 20px; }
#admin_message { font-weight: normal; font-style: italic; font-size: 20px; color: #990099; }
#chat_time { font-weight: normal; font-style: italic; font-size: 9px; }
#user { font-weight: normal; font-style: italic; font-size: 20px; }
#user_list { float: left; height: 290px; width: 100px; overflow: auto; background-color: #DDDDDD; padding: 3px; margin: 3px; }

/* Mobile View CSS */
#mobile_txt_message { width: 180px; }
#mobile_div_chat { height: 200px; width: 200px; overflow: auto; background-color: #CCCCCC; border: 1px solid #555555; }

#maincontent { padding-left:140px; /* the width here should be the same as the 'loginbox' id in 'style.css' file */ }
&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div id="body_container"&gt;
&lt;div id="header_container"&gt;
&lt;div id="logo"&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong id="header_welcome_to"&gt;Welcome to &lt;/strong&gt;&lt;strong id="header_sitename"&gt;site&lt;/strong&gt;

<i> </i>&lt;/div&gt;
<i> </i>&lt;div&gt;&lt;strong id="header_sub"&gt;&amp;nbsp;text&lt;/strong&gt;
<i> </i>&lt;/div&gt;
<i> </i>&lt;div&gt;&amp;nbsp;&lt;/div&gt;
<i> </i>&lt;div&gt;&lt;strong id="header_powered"&gt;text&lt;/strong&gt;
<i> </i>&lt;/div&gt;
&lt;/div&gt;
&lt;div id="menubar"&gt;
&lt;a href="?" class="nd"&gt;&lt;em&gt;Home&lt;/em&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;div id="loginbox"&gt;
&lt;form name="loginbox" method="post" action="auth.php"&gt;&lt;div id="loginbox_text"&gt;Username&lt;br&gt;&lt;input size="20" type="text" name="name"&gt;&lt;/div&gt;
&lt;div id="loginbox_text"&gt;Password&lt;br&gt;&lt;input name="password" type="password" size="20"&gt;&lt;/div&gt;
&lt;div class="center"&gt;&lt;input type="submit" value="Log In" name="login"&gt;&lt;input type="reset" value="Reset" name="reset"&gt;&lt;/div&gt;

&lt;div class="center"&gt;&lt;a href="?"&gt;forgot password&lt;/a&gt;&lt;/div&gt;
&lt;/form&gt;
&lt;/div&gt;
&lt;div id="maincontent"&gt;
&lt;div id="main_left_container"&gt;
&lt;div id="main_left_content"&gt;
some info here&lt;br&gt;&lt;br&gt;&lt;br&gt;
some info here&lt;br&gt;&lt;br&gt;
some info here&lt;br&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div id="main_right_container"&gt;
&lt;div id="main_right_content"&gt;
&lt;div class="center"&gt;&lt;strong id="text_size15pt"&gt;What users say&lt;/strong&gt;&lt;/div&gt;

<i> </i> &lt;div id="bubble_container"&gt;
<i> </i> &lt;div id="bubble_top"&gt;&lt;/div&gt;
<i> </i> &lt;div id="bubble_mid"&gt;
<i> </i> &lt;div id="testimonial_text"&gt;big thank you! cheers to you...big thank you! cheers to you...&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;div id="bubble_bot_left"&gt;
<i> </i> &lt;div id="about_fix_right"&gt;&lt;a href="?fid=1" class="nd"&gt;more info&lt;/a&gt;&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;div id="username_left"&gt;name&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;br&gt;

<i> </i> &lt;div id="bubble_container"&gt;
<i> </i> &lt;div id="bubble_top"&gt;&lt;/div&gt;
<i> </i> &lt;div id="bubble_mid"&gt;
<i> </i> &lt;div id="testimonial_text"&gt;big thank you! cheers to you...big thank you! cheers to you...&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;div id="bubble_bot_left"&gt;
<i> </i> &lt;div id="about_fix_right"&gt;&lt;a href="?fid=1" class="nd"&gt;more info&lt;/a&gt;&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;div id="username_left"&gt;name&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;br&gt;

<i> </i> &lt;div id="bubble_container"&gt;
<i> </i> &lt;div id="bubble_top"&gt;&lt;/div&gt;
<i> </i> &lt;div id="bubble_mid"&gt;
<i> </i> &lt;div id="testimonial_text"&gt;big thank you! cheers to you...big thank you! cheers to you...&lt;/div&gt;
<i> </i> &lt;div id="about_fix_right"&gt;&lt;a href="?fid=1" class="nd"&gt;more info&lt;/a&gt;&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;div id="bubble_bot_left"&gt;&lt;/div&gt;
<i> </i> &lt;div id="username_left"&gt;name&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;br&gt;

<i> </i> &lt;div id="bubble_container"&gt;
<i> </i> &lt;div id="bubble_top"&gt;&lt;/div&gt;
<i> </i> &lt;div id="bubble_mid"&gt;
<i> </i> &lt;div id="testimonial_text"&gt;big thank you! cheers to you...&lt;/div&gt;
<i> </i> &lt;div id="about_fix_right"&gt;&lt;a href="?fid=1" class="nd"&gt;more info&lt;/a&gt;&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;div id="bubble_bot_left"&gt;&lt;/div&gt;
<i> </i> &lt;div id="username_left"&gt;name&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;br&gt;

<i> </i> &lt;br&gt;

<i> </i> &lt;div class="center"&gt;&lt;div id="text_size10pt"&gt;&lt;a href="?ac=te" class="nd"&gt;click here for more&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;/div&gt;
&lt;/div&gt;
&lt;div class="clear"&gt;&lt;/div&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
Copy linkTweet thisAlerts:
@FangMar 30.2010 — You have use the [I]id[/I] multiple times, these should be [I]class[/I]

http://www.w3.org/TR/html401/struct/global.html#h-7.5.2

Also use a valid DTD&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt;
Copy linkTweet thisAlerts:
@jasonc310771authorMar 30.2010 — ok i have used the class instead of id and changed the doctype.

but now the last 'text' line in the top header it on the header botom line and not within the border box itself.

my code is now.
<i>
</i>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt;
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;&lt;/title&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;
&lt;style type="text/css"&gt;
/* CSS Document */

/* Standard View CSS */
body { margin: 0; padding: 0; }
.body_container { padding: 0; margin: 0 auto; width: 700px; }
.header_container { padding: 0; margin: 0 auto; width: 700px; height: 141px; background-color: #6193BF; }
.header_welcome_to { font-weight: normal; font-size: 2em; line-height: 1em; }
.header_sitename { font-weight: normal; font-size: 5em; line-height: 1em; }
.header_sub { font-weight: normal; font-size: 1.05em; font-weight: bold; line-height: .5em; color: #99FFFF; }
.header_powered { font-size: .7em; line-height: 3.6em; }
.logo { float: left; background-image:url(images/logo.png); width: 136px; height: 139px; background-repeat: no-repeat; }

.left { float: left; }
.right { float: right; }
input { font-size: 8pt; color: #333333; background-color: #FFFFFF; }
div.center { text-align: center; }
option.center { text-align: center; }
a.nd { text-decoration: none; }
.loginbox_message { color: #FF6600; }
.loginbox { float:left; padding-top: 30px; width:140px; /* the width here should be the same as the 'maincontent' id in 'style_extras_not_logged_in.css' file */ }
.loginbox_text { font-size: 9pt; color: #333333; text-align: left; }
.main_left_container { width:50&amp;#37;; float:left; overflow:auto; } /* */ /* the width should be the same as the width in the main_right_container */
.main_left_content { padding: 10px; } /* background: yellow; */
.main_right_container { margin-left:50%; } /* background: blue; */ /* the width should be the same as the width in the main_left_container */
.main_right_content { padding: 10px; } /* background: green; */
.menubar { text-align: center; color: #FF0000; padding: 0; margin: 0; }
.welcome_username { text-align: left; font-size: 30px; font-weight: bold; }
.clear { height: 0; font-size: 1px; margin: 0; padding: 0; line-height: 0; clear: both; }

.testimonial_text { text-align: justify; font-weight: normal; font-style: italic; font-size: 10pt; line-height: 12px; color: #333333; padding: 0px 8px 10px 8px; }
.testimonial_name { font-weight: bold; font-style: italic; font-size: 10pt; color: #333333; }

.text_size10pt { font-size: 10pt; color: #333333; }
.text_size15pt { font-size: 15pt; color: #333333; }

.list_arrow { padding-top: 4px; list-style-position:outside; list-style-image: url(images/bullet_arrow.jpeg) }

.bubble_container { padding: 0; margin: 0 auto; width: 155px; }
.bubble_top { width: 100%; height: 15px; background: url(images/speech%20bubbles%20-%20top.png) no-repeat; }
.bubble_mid { width: 100%; background: url(images/speech%20bubbles%20-%20center.png) repeat-y; background-color: #6193BF;}
.bubble_bot_left { width: 100%; height: 17px; background: url(images/speech%20bubbles%20-%20bottom_left.png) no-repeat; }
.bubble_bot_right { width: 100%; height: 17px; background: url(images/speech%20bubbles%20-%20bottom_right.png) no-repeat; }
.about_fix_left { float: left; padding: 0 0 0 25px; line-height: 8px; font-size: 8pt; }
.about_fix_right { float: right; padding: 0 25px 0 0; line-height: 8px; font-size: 8pt; }

.username_left { text-align: left; font-size: 15px; font-weight: bold; }
.username_right { text-align: right; font-size: 15px; font-weight: bold; }

/* top right bottom left */

/*
.blinking { text-decoration: blink; }
*/

/* Chat View CSS */
#chat_container { padding: 0; margin: 0 auto; width: 699px; }
#div_chat { height: 300px; width: 500px; overflow: auto; background-color: #CCCCCC; border: 1px solid #555555; }
#txt_message { width: 447px; }
.admin_user { font-weight: normal; font-size: 20px; }
.admin_message { font-weight: normal; font-style: italic; font-size: 20px; color: #990099; }
.chat_time { font-weight: normal; font-style: italic; font-size: 9px; }
.user { font-weight: normal; font-style: italic; font-size: 20px; }
.user_list { float: left; height: 290px; width: 100px; overflow: auto; background-color: #DDDDDD; padding: 3px; margin: 3px; }

/* Mobile View CSS */
#mobile_txt_message { width: 180px; }
#mobile_div_chat { height: 200px; width: 200px; overflow: auto; background-color: #CCCCCC; border: 1px solid #555555; }

.maincontent { padding-left:140px; /* the width here should be the same as the 'loginbox' id in 'style.css' file */ }
&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div class="body_container"&gt;
&lt;div class="header_container"&gt;
&lt;div class="logo"&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong class="header_welcome_to"&gt;Welcome to &lt;/strong&gt;&lt;strong class="header_sitename"&gt;site&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong class="header_sub"&gt;&amp;nbsp;text&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;strong class="header_powered"&gt;te xt&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="menubar"&gt;
&lt;a href="?" class="nd"&gt;&lt;em&gt;Home&lt;/em&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;div class="loginbox"&gt;
&lt;form name="loginbox" method="post" action="auth.php"&gt;&lt;div class="loginbox_text"&gt;Username&lt;br&gt;&lt;input size="20" type="text" name="name"&gt;&lt;/div&gt;
&lt;div class="loginbox_text"&gt;Password&lt;br&gt;&lt;input name="password" type="password" size="20"&gt;&lt;/div&gt;
&lt;div class="center"&gt;&lt;input type="submit" value="Log In" name="login"&gt;&lt;input type="reset" value="Reset" name="reset"&gt;&lt;/div&gt;

&lt;div class="center"&gt;&lt;a href="?"&gt;forgot password&lt;/a&gt;&lt;/div&gt;
&lt;/form&gt;
&lt;/div&gt;
&lt;div class="maincontent"&gt;
&lt;div class="main_left_container"&gt;
&lt;div class="main_left_content"&gt;
some info here&lt;br&gt;&lt;br&gt;&lt;br&gt;
some info here&lt;br&gt;&lt;br&gt;
some info here&lt;br&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="main_right_container"&gt;
&lt;div class="main_right_content"&gt;
&lt;div class="center"&gt;&lt;strong class="text_size15pt"&gt;What users say&lt;/strong&gt;&lt;/div&gt;

<i> </i> &lt;div class="bubble_container"&gt;
<i> </i> &lt;div class="bubble_top"&gt;&lt;/div&gt;
<i> </i> &lt;div class="bubble_mid"&gt;
<i> </i> &lt;div class="testimonial_text"&gt;big thank you! cheers to you...big thank you! cheers to you...&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;div class="bubble_bot_left"&gt;
<i> </i> &lt;div class="about_fix_right"&gt;&lt;a href="?fid=1" class="nd"&gt;more info&lt;/a&gt;&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;div class="testimonial_name"&gt;name&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;br&gt;

<i> </i> &lt;div class="bubble_container"&gt;
<i> </i> &lt;div class="bubble_top"&gt;&lt;/div&gt;
<i> </i> &lt;div class="bubble_mid"&gt;
<i> </i> &lt;div class="testimonial_text"&gt;big thank you! cheers to you...big thank you! cheers to you...&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;div class="bubble_bot_left"&gt;
<i> </i> &lt;div class="about_fix_right"&gt;&lt;a href="?fid=1" class="nd"&gt;more info&lt;/a&gt;&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;div class="testimonial_name"&gt;name&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;br&gt;

<i> </i> &lt;div class="bubble_container"&gt;
<i> </i> &lt;div class="bubble_top"&gt;&lt;/div&gt;
<i> </i> &lt;div class="bubble_mid"&gt;
<i> </i> &lt;div class="testimonial_text"&gt;big thank you! cheers to you...big thank you! cheers to you...&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;div class="bubble_bot_left"&gt;
<i> </i> &lt;div class="about_fix_right"&gt;&lt;a href="?fid=1" class="nd"&gt;more info&lt;/a&gt;&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;div class="testimonial_name"&gt;name&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;br&gt;

<i> </i> &lt;div class="bubble_container"&gt;
<i> </i> &lt;div class="bubble_top"&gt;&lt;/div&gt;
<i> </i> &lt;div class="bubble_mid"&gt;
<i> </i> &lt;div class="testimonial_text"&gt;big thank you! cheers to you...big thank you! cheers to you...&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;div class="bubble_bot_left"&gt;
<i> </i> &lt;div class="about_fix_right"&gt;&lt;a href="?fid=1" class="nd"&gt;more info&lt;/a&gt;&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;div class="testimonial_name"&gt;name&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;br&gt;

<i> </i> &lt;div class="bubble_container"&gt;
<i> </i> &lt;div class="bubble_top"&gt;&lt;/div&gt;
<i> </i> &lt;div class="bubble_mid"&gt;
<i> </i> &lt;div class="testimonial_text"&gt;big thank you! cheers to you...big thank you! cheers to you...&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;div class="bubble_bot_left"&gt;
<i> </i> &lt;div class="about_fix_right"&gt;&lt;a href="?fid=1" class="nd"&gt;more info&lt;/a&gt;&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;div class="testimonial_name"&gt;name&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;br&gt;

<i> </i> &lt;div class="bubble_container"&gt;
<i> </i> &lt;div class="bubble_top"&gt;&lt;/div&gt;
<i> </i> &lt;div class="bubble_mid"&gt;
<i> </i> &lt;div class="testimonial_text"&gt;big thank you! cheers to you...big thank you! cheers to you...&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;div class="bubble_bot_left"&gt;
<i> </i> &lt;div class="about_fix_right"&gt;&lt;a href="?fid=1" class="nd"&gt;more info&lt;/a&gt;&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;div class="testimonial_name"&gt;name&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;br&gt;

<i> </i> &lt;br&gt;

<i> </i> &lt;div class="center"&gt;&lt;div class="text_size10pt"&gt;&lt;a href="?ac=te" class="nd"&gt;click here for more&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
<i> </i> &lt;/div&gt;
<i> </i> &lt;/div&gt;
&lt;/div&gt;
&lt;div class="clear"&gt;&lt;/div&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
Copy linkTweet thisAlerts:
@FangMar 30.2010 — Remove height from .header_container

id vs class
×

Success!

Help @jasonc310771 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.18,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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