Skocz do zawartości
Hosting webh.pl - 20%

Problem z Wrapperem

Rekomendowane odpowiedzi

Opublikowano

Albo jestem ślepy albo głupi albo nie wiem co jest grane. Zainstalowałem styl przeznaczony do wersji 1.2 na forum z wersją 1.3. Wszystko chodzi dobrze, ale nie mogę w wrapperze ustawić szerokości forum. Kod wygląda następująco:

<?xml version="1.0" encoding="iso-8859-2"?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 

<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">

<head> 

<title><% TITLE %></title> 

<meta http-equiv="content-type" content="text/html; charset=iso-8859-2" /> 

<% GENERATOR %> 

<% CSS %> 

<% JAVASCRIPT %> 

<script language="javascript"> 

<!-- 

if (document.images) { 

image1on = new Image(); 

image1on.src = "style_images/<#IMG_DIR#>/v5menu11.gif"; 

image1off = new Image(); 

image1off.src = "style_images/<#IMG_DIR#>/v5menu1.gif";  

image2on = new Image(); 

image2on.src = "style_images/<#IMG_DIR#>/v5menu22.gif"; 

image2off = new Image(); 

image2off.src = "style_images/<#IMG_DIR#>/v5menu2.gif";

image3on = new Image(); 

image3on.src = "style_images/<#IMG_DIR#>/v5menu33.gif"; 

image3off = new Image(); 

image3off.src = "style_images/<#IMG_DIR#>/v5menu3.gif";

image4on = new Image(); 

image4on.src = "style_images/<#IMG_DIR#>/v5menu44.gif"; 

image4off = new Image(); 

image4off.src = "style_images/<#IMG_DIR#>/v5menu4.gif";

image5on = new Image(); 

image5on.src = "style_images/<#IMG_DIR#>/v5menu55.gif"; 

image5off = new Image(); 

image5off.src = "style_images/<#IMG_DIR#>/v5menu5.gif";

image6on = new Image(); 

image6on.src = "style_images/<#IMG_DIR#>/v5menu-guidelines2.gif"; 

image6off = new Image(); 

image6off.src = "style_images/<#IMG_DIR#>/v5menu-guidelines.gif";



}  



function changeImages() { 

if (document.images) { 

for (var i=0; i<changeImages.arguments.length; i+=2) { 

document[changeImages.arguments[i]].src = eval(changeImages.arguments[i+1] + ".src"); 



} 

} 

} 

// --> 

</script>

</head> 

<body>

<br />

<% BOARD HEADER %> 

<% NAVIGATION %> 

<% BOARD %> 

<% STATS %> 

<br /></td></tr>

</table>

<td width="12" background="style_images/<#IMG_DIR#>/v5rightbg.gif"><img src="style_images/<#IMG_DIR#>/v5rightbg.gif" alt="" /></td>

</tr>

<tr>

<td valign="middle" align="right" width="100%" colspan="3">

<table cellpadding="0" border="0" cellspacing="0" width="100%">

<tr>

<td width="82"><img src="style_images/<#IMG_DIR#>/v5leftbot.gif" alt="" /></td>

<td width="100%" background="style_images/<#IMG_DIR#>/v5bgbot.gif"><% COPYRIGHT %></td>

<td width="82"><map name="topmap"><area shape="rect" coords="47,14,73,34" alt="Top" href="java script:scroll(0,0);"></map><img src="style_images/<#IMG_DIR#>/v5rightbot.gif" width="82" height="44" alt="" border="0" usemap="#topmap" ismap /></td>

</tr>

</table>

</td></tr>

</table>

<br /><br />

</body> 

</html>

Opublikowano

ani głupi ani ślepy, poprostu niedoinformowany :) szerokość forum ustawia się w CSS w 1.3 ta sekcja też się chyba nazywała WRAPPER albo jakoś tak

Opublikowano
  • Autor

no więc mam, cały czas nie mogłem się dopatrzeć które width odpowiada za szerokość forum, cod mam taki:

/* FIX IE6 Scrollbars bug - Leave this in! */

html { overflow-x: hidden; overflow-y: auto; } 

form { display:inline; }

img  { vertical-align:none; border:0px }

BODY { font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 11px; color: #041A48; margin: 0px 10px 0px 10px; background-color: #E3E3E7 }

TABLE, TR, TD { font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 11px; color: #041A48 }

a:link, a:visited, a:active { text-decoration: underline; color: #181D30 }

a:hover { color: #7D9F05; text-decoration: underline }

fieldset.search { padding: 6px; line-height: 150% }

label { cursor: pointer }

img.attach { border: 2px outset #EEF2F7; padding: 2px }

.googleroot { padding: 6px; line-height: 130% }

.googlechild { padding: 6px; margin-left: 30px; line-height: 130% }

.googlebottom, .googlebottom a:link, .googlebottom a:visited, .googlebottom a:active { font-size: 11px; color: #3A4F6C }

.googlish, .googlish a:link, .googlish a:visited, .googlish a:active { font-size: 14px; font-weight: bold; color: #00D }

.googlepagelinks { font-size: 1.1em; letter-spacing: 1px }

.googlesmall, .googlesmall a:link, .googlesmall a:active, .googlesmall a:visited { font-size: 10px; color: #434951 }

li.helprow { padding: 0px; margin: 0px 0px 10px 0px }

ul#help { padding: 0px 0px 0px 15px }

option.cat { font-weight: bold }

option.sub { font-weight: bold; color: #555 }

.caldate { text-align: right; font-weight: bold; font-size: 11px; color: #777; background-color: #DFE6EF; padding: 4px; margin: 0px }

.warngood { color: green }

.warnbad { color: red }

#padandcenter { margin-left: auto; margin-right: auto; text-align: center; padding: 14px 0px 14px 0px }

#profilename { font-size: 28px; font-weight: bold }

#calendarname { font-size: 22px; font-weight: bold }

#photowrap { padding: 6px }

#phototitle { font-size: 24px; border-bottom: 1px solid black }

#photoimg { text-align: center; margin-top: 15px }

#ucpmenu { line-height: 120%; width: 22%; border: 1px solid #27384F; background-color: #E7E8ED }

#ucpmenu p { padding: 2px 5px 6px 9px; margin: 0px }

#ucpcontent { background-color: #E7E8ED; border: 1px solid #27384F; line-height: 120%; width: auto }

#ucpcontent p { padding: 10px; margin: 0px }

#ipsbanner { position: absolute; top: 1px; right: 5% }

#logostrip { border: 1px solid #27384F; background-color: #3860BB; background-image: url(style_images/<#IMG_DIR#>/tile_back.gif); padding: 0px; margin: 0px }

#submenu { border: 1px solid #BCD0ED; background-color: #DFE6EF; font-size: 10px; margin: 3px 0px 3px 0px; color: #3A4F6C; font-weight: bold }

#submenu a:link, #submenu  a:visited, #submenu a:active { font-weight: bold; font-size: 10px; text-decoration: none; color: #3A4F6C }

#userlinks { border: 1px solid #C2CFDF; background-color: #F0F5FA }

#navstrip { font-weight: bold; padding: 6px 0px 6px 0px }

.activeuserstrip { background-color: #BCD0ED; padding: 6px }

.pformstrip { background-color: #D1D1D7; color: #F7F8F9; font-weight: bold; padding: 3px; margin-top: 1px }

.pformstrip a:link, .pformstrip  a:visited, .pformstrip  a:active { text-decoration: none; color: #F6F8FA }

.pformstrip a:hover { text-decoration: underline; color: #E87504 }

.pformleft { background-color: #E7E8ED; padding: 3px; margin-top: 1px; width: 25%; border-top: 1px solid #C2CFDF; border-right: 1px solid #C2CFDF }

.pformleftw { background-color: #E7E8ED; padding: 3px; margin-top: 1px; width: 40%; border-top: 1px solid #C2CFDF; border-right: 1px solid #C2CFDF }

.pformright { background-color: #E7E8ED; padding: 3px; margin-top: 1px; border-top: 1px solid #C2CFDF }

.post1 { background-color: #D9DDE3 }

.post2 { background-color: #D9DDE3 }

.postsep		   {

background-color: #59606C; height: 8px;

background-image: url(style_images/<#IMG_DIR#>/tile_sep.gif); 

}

.postlinksbar { background-color: #C3C5CE; padding: 2px; margin-top: 0px; font-size: 9px; background-image: url(style_images/<#IMG_DIR#>/tile_sub.gif) }

.row1 { background-color: #DDDFE7; border-color: #E8EAEC #B6BECA #B6BECA #E8EAEC; border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px }

.row2 { background-color: #DADDE2; border-color: #E8EAEC #B6BECA #B6BECA #E8EAEC; border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px }

.row3 { background-color: #E1E6EB; border-color: #E8EAEC #B6BECA #B6BECA #E8EAEC; border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px }

.row4 { background-color: #DFE1E5; border-color: #E8EAEC #B6BECA #B6BECA #E8EAEC; border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px }

.row5 { background-color: #D9DDE3; border-color: #313133 #313133 #313133 #313133; border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px }

.darkrow1 { background-color: #DFE3E9; color: #07134F }

.darkrow2 { background-color: #DFE0E5; color: #07134F }

.darkrow3 { background-color: #DFE3E9; color: #07134F }

.hlight { background-color: #E3E9EF }

.dlight { background-color: #EEF2F7 }

.titlemedium { font-weight: bold; color: #3A4F6C; padding: 2px; font-size: 9px; padding: 2px; padding: 3px 0px 2px 5px; background-color: #D6D6DC; background-image: url(style_images/<#IMG_DIR#>/tile_sub.gif) }

.titlemedium  a:link, .titlemedium  a:visited, .titlemedium  a:active { text-decoration: underline; color: #3A4F6C }

.memberbar { font-size: 7.5pt; font-weight: bold; line-height: 120%;  color: #EAEEF2 }

.memberbar   a:link, .memberbar   a:visited, .memberbar   a:active { text-decoration: none; color: #A7C92C }

.memberbar a:hover { text-decoration: none; color: #BAD1E4 }

.memberbar2 { font-size: 8pt; font-weight: bold; line-height: 120%; background-color: #DFE0E5; color: #000000 }

.memberbar2   a:link, .memberbar2   a:visited, .memberbar2   a:active { text-decoration: none; color: #000E56 }

.memberbar2 a:hover { text-decoration: none; color: #E87504 }

.maintitle { vertical-align: middle; font-weight: bold; color: #F0F2F6; letter-spacing: 1px; padding: 3px 0px 3px 5px; background-color: #475261; background-image: url(style_images/<#IMG_DIR#>/tile_back.gif) }

.maintitle a:link, .maintitle  a:visited, .maintitle  a:active { text-decoration: none; color: #F0F2F6 }

.maintitle a:hover { color: #70A3DC; text-decoration: none }

.plainborder { border: 0px solid #E5E6EB; background-color: #E5E6EB }

.tableborder { border: 0px solid #E5E6EB; background-color: #E5E6EB; padding: 0px; margin: 0px; width: 100% }

.tablefill { border: 0px solid #345487; background-color: #E5E6EB; padding: 6px }

.tablepad { background-color: #E5E6EB; padding: 3px }

.tablebasic { width: 100%; padding: 0px 0px 0px 0px; margin: 0px; border: 0px }

.posterinfo {	

  background-color: #C8CAD1;

  height: 17px;

  border-top: 1px solid #162640;

  border-left: 1px solid #162640;

  border-right: 1px solid #162640;

  border-bottom: 1px solid #162640;

  background-image: url(style_images/<#IMG_DIR#>/tile_pimfo.gif) }

.wrapmini { float: left; line-height: 1.5em; width: 25% }

.pagelinks { float: left; line-height: 1.2em; width: 35% }

.desc { font-size: 10px; color: #434951 }

.edit { font-size: 9px }

.signature { font-size: 9px; color: #292D33 }

.postdetails { font-size: 10px  }

.postdetails2 { font-size: 10px; color: #748F49  }

.postdetails2   a:link, .postdetails2   a:visited, .postdetails2   a:active { text-decoration: none; color: #303824 }

.postdetails2 a:hover { text-decoration: none; color: #FF9D5B }

.postcolor { font-size: 12px; line-height: 160% }

.normalname { font-size: 12px; font-weight: bold; color: #0D2F61 }

.normalname a:link, .normalname a:visited, .normalname a:active { text-decoration: none; font-size: 12px }

.unreg { font-size: 11px; font-weight: bold; color: #900 }

.searchlite { font-weight: bold; color: #F00; background-color: #FF0 }

#QUOTE { font-family: Verdana, Arial; font-size: 11px; color: #465584; background-color: #FAFCFE; border: 1px solid #000; padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px }

#CODE { font-family: Courier, Courier New, Verdana, Arial; font-size: 11px; color: #465584; background-color: #FAFCFE; border: 1px solid #000; padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px }

.copyright { font-family: Verdana, Tahoma, Arial, Sans-Serif; font-size: 9px; line-height: 12px }

.codebuttons { font-size: 10px; font-family: verdana, helvetica, sans-serif; vertical-align: middle }

.forminput, .textinput, .radiobutton, .checkbox { font-size: 11px; font-family: verdana, helvetica, sans-serif; vertical-align: middle }

.thin { padding: 6px 0px 6px 0px; line-height: 140%; margin: 2px 0px 2px 0px; border-top: 1px solid #27384F; border-bottom: 1px solid #27384F }

.purple { color: purple; font-weight: bold }

.red { color: red; font-weight: bold }

.green { color: green; font-weight: bold }

.blue { color: blue; font-weight: bold }

.orange { color: #F90; font-weight: bold }

Opublikowano

to w 1.3 nie ma w takim razie tego sorki za wprowadzenie w bład, zwęzić forum możesz zmieniając w

BODY { font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 11px; color: #041A48; margin: 0px 10px 0px 10px; background-color: #E3E3E7 }

pogrubione fragmeny daj gdzieś na 50px oba i zobaczysz czy napewno się zwęża

Opublikowano
  • Autor

nie ma sprawy;), ale mi chodziło by o poszerzenie forum :), rozumiem, że nie ma takiej opcji??

Opublikowano
  • Autor

ok, poradziłem sobie. W miejsce tych 10, wpisałem liczbę ujemną (-15) i działa. Dzięki. Temat można zamknąć

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.

Ostatnio przeglądający 0

  • Brak zarejestrowanych użytkowników przeglądających tę stronę.

Konto

Nawigacja

Szukaj

Szukaj

Skonfiguruj powiadomienia push w przeglądarce

Chrome (Android)
  1. Stuknij ikonę kłódki obok paska adresu.
  2. Stuknij Uprawnienia → Powiadomienia.
  3. Dostosuj swoje ustawienie.
Chrome (Komputer)
  1. Kliknij ikonę kłódki na pasku adresu.
  2. Wybierz Ustawienia witryny.
  3. Znajdź Powiadomienia i dostosuj swoje ustawienie.