Sephy Posted March 14, 2008 Report Share Posted March 14, 2008 kods te <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=windows-1250"> <meta name="generator" content="PSPad editor, www.pspad.com"> <link rel="stylesheet" type="text/css" href="./main.css"> <title> </title> </head> <body> <div id="main"> <div id="first"> <div id="left1"></div><div id="centerrepeat1"></div><div id="right1"></div> </div> </div> </body> </html> un css /* CSS Document */ html{ height:100%; width:100%; } body{ height:100%; width:100%; margin:0px; padding:0px; } #main{ height:100%; width:100%; background-color:blue; } #first{ position:absolute; height:475px; width:100%; background-color:red; } #left1{ float:left; z-index:10; overflow:vissible; position:absolute; height:100%; width:496px; background-color:black; } #centerrepeat1{ position:absolute; height:100%; width:100%; background:url('./imagemap/repeatfirst.jpg') right top repeat-x; } #right1{ display:block; float:right; position:absolute; height:100%; width:28px; background-color:white; } vajag izdarit taa lai right1 divs ir labajaa pusee(float right laikam ipashi labi nestradaa) un lai repeatu nevajag likt 100%(es gribu lai vinsh aipilda tikai tuksho vidu nevis velreiz parbrauc pa apakshu maniem left un right diviem) Link to comment Share on other sites More sharing options...
Evi Posted March 14, 2008 Report Share Posted March 14, 2008 (edited) ja tu uzliec #right1 float:right; position:absolute; tad float:right tieshaam labi nestraadaa :> Edited March 14, 2008 by Evi Link to comment Share on other sites More sharing options...
Sephy Posted March 14, 2008 Author Report Share Posted March 14, 2008 ok ty pirmaa problema atrisinata tagad ar backgorun repeat lai vissh tikai pa tuksho vidu repeat!!! Link to comment Share on other sites More sharing options...
Sephy Posted March 14, 2008 Author Report Share Posted March 14, 2008 vispar jau ie div ar background repeat uzreiz liekas kur vajag tikai visos parejos visnh neliekas ;[ Link to comment Share on other sites More sharing options...
Evi Posted March 14, 2008 Report Share Posted March 14, 2008 Ja veel vareetu saprast, ko tu tur iisti gribi.. Inetresanti kaa tas vispaar browserii izskataas :> Link to comment Share on other sites More sharing options...
mefisto Posted March 14, 2008 Report Share Posted March 14, 2008 (edited) html{ width:100%; } #first{ position:absolute; height:475px; width:100%; } Tolks ? Labāk parādi bildi no tā, ko tev vajag. Edited March 14, 2008 by mefisto Link to comment Share on other sites More sharing options...
Recommended Posts