Put this code into a HTML file, and have a look.Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Zokoli ~ Ah yes!</title> <style type="text/css"> <!-- body,td,th { font-family: Verdana; font-size: 11px; font-weight:bold; color: #000; } body { background-image: url(); background-repeat: no-repeat; background-color: #FFF; } #header-wrap { width: 100%; height: 65px; background-color: #3F4C6B; } #header-wrapper { width: 100%; height: 100px display: block; margin: 0 auto; } .header { float: right; margin-top: 4px; height: 60px; width: 220px; background-image: url(zokoli.PNG); background-repeat: no-repeat; display: block; } #wrap-1 { /*margin-top: 5px;*/ background-color: #4096FF; width: 100% padding-top: 10px; padding-bottom: 10px; } #wrap-2 { /*margin-top: 5px;*/ background-color: #CDEB8B; width: 100% padding-top: 30px; padding-bottom: 30px; } #wrapper-2 { width: 100%; height: 100px display: block; margin: auto; } .nav-text { font-family:Verdana; font-size:10px; color: #36393D; } --> </style></head> <body> <div id="wrap-2"> <div id="wrapper-2"> <div id="header-wrap"> <div id="header-wrapper"> <span class="header"></span> <div id="wrap-1"></div> <span class="nav-text">I want this text in the green :[</span> </body> </html>
I want this;In the green zone (see in the HTML file).Code:<span class="nav-text">I want this text in the green :[</span>
thanks,
zokoli.







Reply With Quote




