Jump to content
php.lv forumi

Recommended Posts

Posted

CSS:

#wrap {
width:625px;
margin:20px auto;
text-align:center;
}

HTML:

<!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" />
<link rel="stylesheet" type="text/css" href="./stylesheet.css" />
<title>LAPAA</title>

</head>

<body>
<div id="wrap">
<table width="625px" style="border: 1px solid;" cellpadding="0" cellspacing="0">
<tr>
   	<td>
Saturs
	</td>
   </tr>
</table>
</div>
</body>
</html>

Tatad pašlaik ir šadi:

http://www.bildem.lv/files/1018_lbz1f/pashlaik.jpg

, bet gribu lai ir šādi:

http://www.bildem.lv/files/1017_bapgn/gribu.jpg

Kā to panākt? Kādus datus man rakstīt?

Paldies par atsaucību.

Posted

Nu es gribu lai tabula ir pozicionēta pie labās malas, bet tomēr ar atkāpi, tas ir nevis tabula , bet gan <div> ar ID wrap.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...