Jump to content

SUBIECTE NOI
« 1 / 5 »
RSS
Incalzire in pardoseala etapizata

Suprataxa card energie?!

Cum era nivelul de trai cam din a...

probleme cu ochelarii
 Impozite pe proprietati de anul v...

teava rezistenta panou apa calda

Acces in Curte din Drum National

Sub mobila de bucatarie si sub fr...
 Rezultat RMN

Numar circuite IPAT si prindere t...

Pareri brgimportchina.ro - teapa ...

Lucruri inaintea vremurilor lor
 Discuții despre TVR Sport HD.

Cost abonament clinica privata

Tremura toata, dar nu de la ro...

Renault Android
 

Integrare in border CSS

- - - - -
  • Please log in to reply
1 reply to this topic

#1
b0gdy_m

b0gdy_m

    Junior Member

  • Grup: Members
  • Posts: 58
  • Înscris: 19.02.2008
As vrea sa fac un fel de revista in HTML+CSS si m-am apucat sa invat putin CSS, l-am inteles, dar am nedumeriri undeva:

Revista va avea urmatorul aranjament:

border (practic un border de pagina, care sa incadreze tot continutul)
meniu (cu cateva linkuri)
titlu (sub forma de imagine incadrata de meniu (sus) si de border (st si dr) )
continutul (text, text, text)
autor (tot imagine)
link (pg anterioara), link (pg urmatoare)





Daca imi puteti spune cum as putea sa fac sa centrez borderul pe mijloc (nu-mi merge in IE folosind auto), cum pot sa fac ca meniul sa ocupe tot width-ul borderului (nici sa ramana gol un spatiu si nici sa treaca pe urm rand) si cum as putea sa fac ca imaginea "autor" sa fie incadrata din 3 parti de border (st, dr si jos), considerand ca nu mai am linkuri sub.


Imi trebuie doar o structura precisa, un sablon dupa care sa construiesc si restul. Momentan detaliile astea tehnice ma depasesc :glare:...

#2
danutz0501

danutz0501

    Member

  • Grup: Members
  • Posts: 437
  • Înscris: 22.04.2008
Asa e bine sefu.Sincer la titlu imagine border stanga si dreapta nu am inteles ce vrei.
<!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>Untitled Document</title>
<style type="text/css">
*{
	margin:0px;
	padding:opx
}
body{
	text-align:center;/*pt IE*/
}
#wrapper{
	width:1000px;
	margin:0px auto;
	border:1px solid #999;
	height:1000px;/* inaltime declarata doar pt exemplu , regula css se poate scoate pt a avea inaltimea egala cu continutul*/
}
#menu{
	width:100%;
	background-color:#99C;
	text-align:left;
}
#menu ul li{
	list-style:none;
	display:inline-block;
	color:#CCC;
	width:100px;
}
#menu ul li a{
	text-decoration:none;
	color:#CCC;
}
#menu ul li a:hover{
	text-decoration:underline;
}
#titluImagine{
	position:relative;
	width:700px;
	margin-left:150px;
	height:100;
}
#titluImagine p{
	position:absolute;
	top:5px;
	left:5px;
}
#content{
	padding:15px;
}
#autor{
	float:right;
	margin:20px;
}
#linkuri{
	clear:both;
}
#linkuri a{
	padding:20px 200px;
}
</style>
</head>

<body>
<div id="wrapper">
	<div id="menu">
		<ul>
			<li><a href="#" >Link</a></li>
			<li><a href="#" >Link</a></li>
			<li><a href="#" >Link</a></li>
			<li><a href="#" >Link</a></li>
			<li><a href="#" >Link</a></li>
			<li><a href="#" >Link</a></li>
		</ul>
	</div>
	<div id="titluImagine">
		<img src="http://thefishbits.files.wordpress.com/2008/09/free-sign-by-klabustra-on-flickr.jpg" width="700px" height="100px"/>
		<p>Text afisat deasupra titlului imagine</p>
	</div>
	<div id="content">
	<p>
	<table>
	<tr>
	<td>
		Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Why do we use it?
</td><td>
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).
 </td><td>
Where does it come from?

Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.
	</td></tr>
	</table>
	</p>
	</div>
	<div id="autor">
		<img src="http://thefishbits.files.wordpress.com/2008/09/free-sign-by-klabustra-on-flickr.jpg" width="100px" height="100px" />
	</div>
	<div id="linkuri">
		<a href="#" title="Inapoi">Inapoi</a><a href="#" title="Inainte">Inainte</a>
	</div>
</div>
</body>
</html>

Edited by danutz0501, 14 December 2010 - 23:38.


Anunturi

Chirurgia cranio-cerebrală minim invazivă Chirurgia cranio-cerebrală minim invazivă

Tehnicile minim invazive impun utilizarea unei tehnologii ultramoderne.

Endoscoapele operatorii de diverse tipuri, microscopul operator dedicat, neuronavigația, neuroelectrofiziologia, tehnicile avansate de anestezie, chirurgia cu pacientul treaz reprezintă armamentarium fără de care neurochirurgia prin "gaura cheii" nu ar fi posibilă. Folosind tehnicile de mai sus, tratăm un spectru larg de patologii cranio-cerebrale.

www.neurohope.ro

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Forumul Softpedia foloseste "cookies" pentru a imbunatati experienta utilizatorilor Accept
Pentru detalii si optiuni legate de cookies si datele personale, consultati Politica de utilizare cookies si Politica de confidentialitate