ERLEDIGT
NEIN
NEIN
ANTWORTEN
5
5
ZUGRIFFE
784
784
EMPFEHLEN
-
23.12.11 19:28 #1
- Registriert seit
- Dec 2011
- Beiträge
- 99
Guten Abend zusammen,
so kurz vor Weihnachten noch ne dumme Frage...
Kann mir denn jemand erklären wie ich es denn hinbekomme, dass einen Div-Container, welcher an einer x-beliebigen Stelle meiner Seite "aufgezogen" wurde, auch dort bliebt wenn ich das Browserfenster größer bzw. kleiner mache...?
Beispiel hier, die Ansicht wo der DIV-Containier hin sollte:

Wenn ich aber dann die Seite in der Vorschau bzw. fertig im Browser öffne hängt der Container an ganz anderen Orten
Weiss jemand was damit anzufangen?
Vielen Dank schon mal im Voraus für Eure Hilfe!
MFG
TobmGeändert von tobm_knows_best (23.12.11 um 19:48 Uhr)
-
24.12.11 01:04 #2
- Registriert seit
- Mar 2011
- Beiträge
- 47
kannst du bitte dein Code posten ?
Geändert von live4music (24.12.11 um 01:15 Uhr)
-
24.12.11 05:18 #3
- Registriert seit
- Dec 2011
- Beiträge
- 99
Hmm...also hier mal der HTML-Code:
Der Div-Containier den ich meine befindet sich in Zeile 90 des HTML-Codes :/
Code :1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571
<!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> <link rel="shortcut icon" href="http://www.mediengrafik-online.de/favicon.ico" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <!-- SocialMediaTabs.com START --> <!--<script type="text/javascript"> var smtabs_id = "1.0@1065@3b33548f5cc1eed2386a8368ab9a69e6@de/m/1065"; function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } </script> <script type="text/javascript" src="http://cdn.socialmediatabs.com/loader/loader.1.0.min.js"></script>--> <!-- SocialMediaTabs.com STOP --> <title>mediengrafik & design</title> <style type="text/css"> body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; background-image: url(pics/background_2.gif); background-color: #CCC; background-repeat: repeat; } a:link { color: #CBD34D; text-decoration: none; } a:visited { color: #EEE; text-decoration: none; } a:hover { color: #888; text-decoration: none; } a:active { color: #AEB839; text-decoration: none; } body,td,th { font-family: Arial, Helvetica, sans-serif; font-size: 16px; color: #cccccc; text-align: left; } </style> <link href="mediengrafik_online.css" rel="stylesheet" type="text/css" /> <style type="text/css"> #apDiv1 { position:absolute; left:726px; top:459px; width:200px; height:75px; z-index:1; background-image: url(pics/vita_addon.png); } </style> </head> <body bgcolor="#cccccc" text="#555555" link="#E8E8E8" vlink="#555555" alink="#CBD34D" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="MM_preloadImages('/pics/sb_icons/active/facebook.png','/pics/sb_icons/active/digg.png','/pics/sb_icons/active/google.png','/pics/sb_icons/active/delicious.png','/pics/sb_icons/active/xing.png','/pics/sb_icons/active/yahoo.png')"> <div id="apDiv1"></div> <div class="div_top" id="div_top"> <div class="div_top_inner" id="div_top_inner"> <table border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="21" class="navi_offline"><a href="#">HOME</a></td> <td width="100" class="navi_offline"><div align="center" class="Stil19">//</div></td> <td class="navi_offline"><a href="#">VITA</a></td> <td width="100" class="navi_offline"><div align="center" class="Stil19">//</div></td> <td class="navi_offline"><a href="#">LEISTUNGEN</a></td> <td width="100" class="navi_offline"><div align="center" class="Stil19">//</div></td> <td class="navi_offline"><a href="#">NEWS</a></td> <td width="100" class="navi_offline"><div align="center" class="Stil19">//</div></td> <td class="navi_offline"><a href="#">KONTAKT</a></td> <td width="100" class="navi_offline"><div align="center" class="Stil19">//</div></td> <td class="navi_offline"><a href="#">IMPRESSUM</a></td> </tr> </table> </div> </div> <div class="top_schlagschatten" id="top_schlagschatten"></div> <div class="div_mid" id="div_mid"> <div class="navigation" id="navigation"></div> <div class="div_banner" id="div_banner"><img src="pics/banner_index.png" width="960" height="210" alt="banner_index" /></div> <div class="div_intro" id="div_intro"> <hr size="1" noshade="noshade" class="horizontal_line_content" id="horizontal_line3" /> <span class="fett_gruen_14px"><span class="fett_grau_14px"><span class="fett_blau_14px">"</span></span></span><span class="fett_gruen_14px"><span class="fett_grau_14px"><span class="fett_blau_14px">Gegen-den-Strom-Schwimmer"</span></span></span> haben es nicht immer leicht, aber Sie haben meistens mehr Erfolg, denn nur durch einzigartige, unverwechselbare und aussergewöhniche Aussenauftritte haben Sie die Chance wahrgenommen zu werden! <hr size="1" noshade="noshade" class="horizontal_line_content" id="horizontal_line5" /> </div> <div class="div_content" id="div_content"> <div class="div_aktuelles" id="div_aktuelles"><span class="div_aktuelles"><span class="fett_weiss_12px"><span class="fett_blau_14px"><span class="fett_gruen_12px"><span class="fett_blau_14px">Aktuelles: </span></span></span></span><br /> » interessante Angebote...<br /> <br /> <style type="text/css"> /* <![CDATA[ */ .image-wrapper { border:3px solid #EEE; position:relative; float:left; width:305px; height:150px; overflow:hidden; } .image-wrapper > img { display:block; } .image-wrapper { box-shadow:0px 0px 5px rgba(0, 0, 0, .7); -moz-box-shadow:0px 0px 5px rgba(0, 0, 0, .7); -webkit-box-shadow:0px 0px 5px rgba(0, 0, 0, .7); } .image-wrapper > .image-details { margin:0; position:absolute; left:0px; right:0px; bottom:0px; height:50px; line-height:50px; background:#000; color:#fff; opacity:.7; } /* ]]> */ </style> </head> <body> <div class="image-wrapper"> <img src="http://www.mediengrafik-online.de/Test/pics/aktuelles_305x150px.png" alt="" /> <p class="image-details"> *» <a href="#">Erfahren Sie mehr</a> </p> </div> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script> <script type="text/javascript"> /* <![CDATA[ */ $(function() { $('.image-details').css('bottom', '-50px').parent().hover(function() { $(this).find('.image-details').animate({'bottom': '0px'}, 100); }, function() { $(this).find('.image-details').animate({'bottom': '-50px'}, 100); }); }); /* ]]> */ </script> </div> <div class="div_leistungen" id="div_leistungen"><span class="fett_blau_14px">Leistungen</span><span class="div_aktuelles">» Alles auf einem Blick...<br /> <br /> <style type="text/css"> /* <![CDATA[ */ .image-wrapper { border:3px solid #EEE; float:left; position:relative; width:305px; height:150px; overflow:hidden; } .image-wrapper > img { display:block; } .image-wrapper { box-shadow:0px 0px 5px rgba(0, 0, 0, .7); -moz-box-shadow:0px 0px 5px rgba(0, 0, 0, .7); -webkit-box-shadow:0px 0px 5px rgba(0, 0, 0, .7); } .image-wrapper > .image-details { margin:0; position:absolute; left:0px; right:0px; bottom:0px; height:50px; line-height:50px; background:#000; color:#fff; opacity:.7; } /* ]]> */ </style> </head> <body> <div class="image-wrapper"> <img src="http://www.mediengrafik-online.de/Test/pics/leistungen_305x150px.png" alt="" /> <p class="image-details"> *» <a href="#">Erfahren Sie mehr</a> </p> </div> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script> <script type="text/javascript"> /* <![CDATA[ */ $(function() { $('.image-details').css('bottom', '-50px').parent().hover(function() { $(this).find('.image-details').animate({'bottom': '0px'}, 100); }, function() { $(this).find('.image-details').animate({'bottom': '-50px'}, 100); }); }); /* ]]> */ </script> </span></div> <div class="div_vita" id="div_vita"><span class="fett_blau_14px">Vita</span><span class="div_aktuelles"><br /> <br /> <style type="text/css"> /* <![CDATA[ */ .image-wrapper { border:3px solid #EEE; float:left; position:relative; width:305px; height:150px; overflow:hidden; } .image-wrapper > img { display:block; } .image-wrapper { box-shadow:0px 0px 5px rgba(0, 0, 0, .7); -moz-box-shadow:0px 0px 5px rgba(0, 0, 0, .7); -webkit-box-shadow:0px 0px 5px rgba(0, 0, 0, .7); } .image-wrapper > .image-details { margin:0; position:absolute; left:0px; right:0px; bottom:0px; height:50px; line-height:50px; background:#000; color:#fff; opacity:.7; } /* ]]> */ </style> </head> <body> <div class="image-wrapper"> <img src="http://www.mediengrafik-online.de/Test/pics/vita_305x150px.png" alt="" /> <p class="image-details"> *» <a href="#">Erfahren Sie mehr</a> </p> </div> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script> <script type="text/javascript"> /* <![CDATA[ */ $(function() { $('.image-details').css('bottom', '-50px').parent().hover(function() { $(this).find('.image-details').animate({'bottom': '0px'}, 100); }, function() { $(this).find('.image-details').animate({'bottom': '-50px'}, 100); }); }); /* ]]> */ </script> </span></div> <div class="div_beratung" id="div_beratung"><span class="fett_blau_14px">Beratung</span><span class="div_aktuelles">» schnell & einfach...<br /> <br /> <style type="text/css"> /* <![CDATA[ */ .image-wrapper { border:3px solid #EEE; float:left; position:relative; width:305px; height:150px; overflow:hidden; } .image-wrapper > img { display:block; } .image-wrapper { box-shadow:0px 0px 5px rgba(0, 0, 0, .7); -moz-box-shadow:0px 0px 5px rgba(0, 0, 0, .7); -webkit-box-shadow:0px 0px 5px rgba(0, 0, 0, .7); } .image-wrapper > .image-details { margin:0; position:absolute; left:0px; right:0px; bottom:0px; height:50px; line-height:50px; background:#000; color:#fff; opacity:.7; } /* ]]> */ </style> </head> <body> <div class="image-wrapper"> <img src="http://www.mediengrafik-online.de/Test/pics/beratung_305x150px.png" alt="" /> <p class="image-details"> *» <a href="#">Erfahren Sie mehr</a> </p> </div> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script> <script type="text/javascript"> /* <![CDATA[ */ $(function() { $('.image-details').css('bottom', '-50px').parent().hover(function() { $(this).find('.image-details').animate({'bottom': '0px'}, 100); }, function() { $(this).find('.image-details').animate({'bottom': '-50px'}, 100); }); }); /* ]]> */ </script> </span></div> <div class="div_fachchinesisch" id="div_fachchinesisch"><span class="fett_blau_14px">Fachchinesisch</span><span class="div_aktuelles">» was heisst eigentlich...<br /> <br /> <style type="text/css"> /* <![CDATA[ */ .image-wrapper { border:3px solid #EEE; float:left; position:relative; width:305px; height:150px; overflow:hidden; } .image-wrapper > img { display:block; } .image-wrapper { box-shadow:0px 0px 5px rgba(0, 0, 0, .7); -moz-box-shadow:0px 0px 5px rgba(0, 0, 0, .7); -webkit-box-shadow:0px 0px 5px rgba(0, 0, 0, .7); } .image-wrapper > .image-details { margin:0; position:absolute; left:0px; right:0px; bottom:0px; height:50px; line-height:50px; background:#000; color:#fff; opacity:.7; } /* ]]> */ </style> </head> <body> <div class="image-wrapper"> <img src="http://www.mediengrafik-online.de/Test/pics/fachchinesisch_305x150px.png" alt="" /> <p class="image-details"> *» <a href="#">Erfahren Sie mehr</a> </p> </div> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script> <script type="text/javascript"> /* <![CDATA[ */ $(function() { $('.image-details').css('bottom', '-50px').parent().hover(function() { $(this).find('.image-details').animate({'bottom': '0px'}, 100); }, function() { $(this).find('.image-details').animate({'bottom': '-50px'}, 100); }); }); /* ]]> */ </script> </span></div> <div class="div_kontakt" id="div_kontakt"><span class="fett_blau_14px">Kontakt</span><span class="div_aktuelles">» hier erreichen Sie mich...<br /> <br /> <style type="text/css"> /* <![CDATA[ */ .image-wrapper { border:3px solid #EEE; float:left; position:relative; width:305px; height:150px; overflow:hidden; } .image-wrapper > img { display:block; } .image-wrapper { box-shadow:0px 0px 5px rgba(0, 0, 0, .7); -moz-box-shadow:0px 0px 5px rgba(0, 0, 0, .7); -webkit-box-shadow:0px 0px 5px rgba(0, 0, 0, .7); } .image-wrapper > .image-details { margin:0; position:absolute; left:0px; right:0px; bottom:0px; height:50px; line-height:50px; background:#000; color:#fff; opacity:.7; } /* ]]> */ </style> </head> <body> <div class="image-wrapper"> <img src="http://www.mediengrafik-online.de/Test/pics/kontakt_305x150px.png" alt="" /> <p class="image-details"> *» <a href="#">Erfahren Sie mehr</a> </p> </div> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script> <script type="text/javascript"> /* <![CDATA[ */ $(function() { $('.image-details').css('bottom', '-50px').parent().hover(function() { $(this).find('.image-details').animate({'bottom': '0px'}, 100); }, function() { $(this).find('.image-details').animate({'bottom': '-50px'}, 100); }); }); /* ]]> */ </script> <br /> </span></div> </div> <br /> <br /> <span class="internetpaesenz"><br /> </span> <br /> </div> <div class="footer_schatten" id="footer_schlagschatten"></div> <div class="div_footer" id="footer"> <div class="footer_inner" id="footer_inner"> <div class="ueber_mich" id="ueber_mich5"><span class="fett_grau_12px"><span class="fett_gruen_12px">Zur Person:</span></span><br /> <hr size="1" noshade="noshade" class="horizontal_line" id="horizontal_line5" /> Hallo, mein Name ist <span class="fett_weiss_12px"><a href="#">Tobias Prießner</a></span> - ein junger, gestalterisch, versierter Querdenker.<br /> <br /> Ich beschäftige mich mit der <span class="fett_weiss_12px">Erstellung von Digital- und<br /> Printmedien</span> aller Art.<br /> <br /> Vielleicht auch bald für Sie? </div> <div class="code" id="div_code"><span class="fett_grau_12px"><span class="fett_gruen_12px">Links:</span></span><br /> <hr size="1" noshade="noshade" class="horizontal_line" id="horizontal_line6" /> » <a href="#">Home</a><br /> » <a href="#">Vita</a><br /> » <a href="#">Leistungen</a><br /> » <a href="#">Kontakt</a><br /> » <a href="#">News</a><br /> » <a href="#">Impressum</a></div> <div class="leistungen" id="ueber_mich"><span class="fett_grau_12px"><span class="fett_gruen_12px">Leistungen:</span></span><br /> <hr size="1" noshade="noshade" class="horizontal_line" id="horizontal_line2" /> » Corporate Design<br /> » Print Design<br /> »*Grafik<br /> »*Illustration<br /> » neue Medien<br /> <span id="ueber_mich">»*</span>u.v. m. </p> </div> <div class="folgen" id="ueber_mich3"><span class="fett_grau_12px"><span class="fett_gruen_12px">Bookmark & Sharing:</span></span><br /> <hr size="1" noshade="noshade" class="horizontal_line" id="horizontal_line4" /> <a href="http://www.facebook.com/sharer/sharer.php?u=www.mediengrafik-online.de" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('facebook','','/pics/sb_icons/active/facebook.png',1)"><img src="pics/sb_icons/non_active/facebook.png" alt="facebook" name="facebook" width="48" height="48" border="0" id="facebook" /></a><a href="http://digg.com/submit?phase=2&url=http://www.mediengrafik-online.de" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('digg','','/pics/sb_icons/active/digg.png',1)">*<img src="pics/sb_icons/non_active/digg.png" alt="digg it" name="digg" width="48" height="48" border="0" id="digg" />*</a><a href="http://www.google.com/bookmarks/mark?op=add&hl=de&bkmk=http://www.mediengrafik-online.de" onmouseover="MM_swapImage('google','','/pics/sb_icons/active/google.png',1)" onmouseout="MM_swapImgRestore()"><img src="pics/sb_icons/non_active/google.png" alt="google" name="google" width="48" height="48" border="0" id="google" /></a><br /> <a href="http://del.icio.us/post?&url=http://www.mediengrafik-online.de" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('delicious','','/pics/sb_icons/active/delicious.png',1)"><img src="pics/sb_icons/non_active/delicious.png" alt="delicious" name="delicious" width="48" height="48" border="0" id="delicious" /></a><a href="https://www.xing.com/app/user?op=share;url=http://www.mediengrafik-online.de" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('xing','','/pics/sb_icons/active/xing.png',1)">*<img src="pics/sb_icons/non_active/xing.png" alt="xing" name="xing" width="48" height="48" border="0" id="xing" /></a><a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://www.mediengrafik-online.de" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('yahoo','','/pics/sb_icons/active/yahoo.png',1)">*<img src="pics/sb_icons/non_active/yahoo.png" alt="yahoo" name="yahoo" width="48" height="48" border="0" id="yahoo" /></a></div> <div class="kontaktformular" id="ueber_mich4"><span class="fett_grau_12px"><span class="fett_gruen_12px">Kontakt:</span></span><br /> <hr size="1" noshade="noshade" class="horizontal_line" id="horizontal_line" /> <span class="fett_grau_12px"><span class="fett_weiss_12px">Inh. Tobias Prießner</span></span><br /> Wallgasse 4/1<br /> D-79415 Bad Bellingen<br /> <span class="wingings_grau_12px"><br /> ✆ </span> +49 7635 8244378 (FN)<br /> <span class="wingings_grau_12px">✆</span> +49 1525 4694688 (M)<br /> <br /> www.mediengrafik-online.de<a href="mailto:info@mediengrafik-online.de"> <br /> info@mediengrafik-online.de</a></div> </div> </div> </body> </html>
und das CSS:
Code css:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329
.fett_weiss_12px { font-weight: bold; font-family: Arial, Helvetica, sans-serif; color: #EEE; } .fett_gruen_12px { font-weight: bold; font-family: Arial, Helvetica, sans-serif; color: #AEB839; font-size: 12px; } .fett_gruen_14px { font-weight: bold; font-family: Arial, Helvetica, sans-serif; color: #CBD34D; font-size: 14px; } .fett_grau_14px { font-weight: bold; font-family: Arial, Helvetica, sans-serif; color: #555; font-size: 14px; } .fett_blau_14px { font-weight: bold; font-family: Arial, Helvetica, sans-serif; color: #0070B3; font-size: 14px; } .fett_blau_12px { font-weight: bold; font-family: Arial, Helvetica, sans-serif; color: #0070B3; font-size: 12px; } .div_top { margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; width: 100%; padding-bottom: 12px; padding-top: 13px; position: fixed; top: 0px; background-image: url(pics/background.gif); left: auto; right: auto; border-bottom-width: thin; border-bottom-style: solid; border-bottom-color: #EEE; } .div_top_inner { width: 1024px; margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; } .div_mid { font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-style: normal; color: #555; width: 1000px; margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; text-align: left; float: none; padding: 0px; height: 768px; padding-top: 0px; background-image: url(pics/background_4.png); } .aufgabenbereich { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #888; text-align: center; float: left; width: 100%; margin-top: 10px; font-weight: normal; text-decoration: none; } .ueber_mich { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #EEE; text-align: left; float: left; margin-top: 10px; margin-right: 20px; margin-bottom: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; width: 174px; height: 180px; } .leistungen { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #EEE; text-align: left; float: left; margin-top: 10px; margin-right: 20px; margin-bottom: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; width: 174px; height: 180px; } .folgen { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #DDD; text-align: left; float: left; margin-top: 10px; margin-right: 20px; margin-bottom: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; width: 174px; height: 180px; } .kontaktformular { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #EEE; text-align: left; float: left; margin-top: 10px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; width: 174px; height: 180px; } .code { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #EEE; text-align: left; float: left; margin-top: 10px; margin-right: 20px; margin-bottom: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; width: 174px; height: 180px; } .div_mid_linksbuendig_in_table { text-align: left; background-image: url(pics/vertical_line.png); background-repeat: no-repeat; background-position: 260px; } .div_mid_rechtsbuendig_in_table { text-align: right; } .navigation { font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-weight: normal; text-align: center; color: #777; } .navi_offline { font-family: Arial, Helvetica, sans-serif; font-size: 16px; color: #CBD34D; } .horizontal_line { border:none; border-top: 1px dotted #EEE; background-color: #4B4B4D; height: 1px; } .horizontal_line_content { border:none; border-top: 1px dotted #4B4B4D; background-color: #cccccc; height: 1px; } .div_intro { font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #555; width: 960px; margin-top: 15px; margin-right: auto; margin-bottom: 20px; margin-left: auto; float: none; } .div_content { width: 960px; margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; float: none; height: auto; } .footer_schatten { float: left; width: 100%; clear: left; background-image: url(pics/schlagschatten_footer.png); background-repeat: repeat-x; background-position: top; height: 15px; } .div_banner { font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #555; width: 960px; margin-top: 55px; margin-right: auto; margin-bottom: 25px; margin-left: auto; float: none; height: auto; padding-top: 15px; } .top_schlagschatten { background-image: url(pics/schlagschatten_top.png); background-repeat: repeat-x; height: 15px; width: 100%; background-position: bottom; position: fixed; float: none; margin-top: -8px; margin-bottom: 0px; } .div_footer { height: 100%; width: 100%; margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; left: auto; right: auto; bottom: 0px; background-image: url(/Test/pics/background.gif); background-repeat: repeat; float: left; border-top-width: thin; border-top-style: solid; border-top-color: #EEE; } .footer_inner { width: 960px; margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; height: 190px; } .div_aktuelles { font-family: Arial, Helvetica, sans-serif; font-size: 12px; float: left; width: 309px; margin-bottom: 10px; padding-right: 0px; height: 200px; } .div_leistungen { font-family: Arial, Helvetica, sans-serif; font-size: 12px; float: left; width: 309px; height: 200px; padding-right: 16px; padding-left: 16px; margin-bottom: 10px; } .div_vita { font-family: Arial, Helvetica, sans-serif; font-size: 12px; float: left; width: 309px; height: 200px; margin-bottom: 10px; } .div_beratung { font-family: Arial, Helvetica, sans-serif; font-size: 12px; float: left; width: 309px; margin-top: 15px; margin-bottom: 15px; height: 200px; } .div_fachchinesisch { font-family: Arial, Helvetica, sans-serif; font-size: 12px; float: left; width: 309px; margin-top: 15px; margin-bottom: 15px; height: 200px; padding-left: 16px; padding-right: 16px; } .div_kontakt { font-family: Arial, Helvetica, sans-serif; font-size: 12px; float: left; width: 309px; margin-top: 15px; margin-bottom: 15px; height: 200px; }
Hoffe das war jetzt richtig so... ?!
-
24.12.11 12:52 #4
- Registriert seit
- Mar 2011
- Beiträge
- 47
Wenn ich dein Screen und dicht richtig verstanden habe willst du so haben wie es jetzt bei mir auf dem Screen ist. Wenn ja dann musst du dein Div-Container von Zeihle 90 auf Zeihle 253 kopieren und dein Css ändern auf das.
Code :1 2 3 4 5 6 7 8
#apDiv1 { position:absolute; margin-top: -30px; width:200px; height:75px; z-index:1; background-image: url(pics/vita_addon.png); }
-
27.12.11 20:39 #5
- Registriert seit
- Dec 2011
- Beiträge
- 99
Vielen Dank für deine Antwort, und sorry erstmal für meine verspätete - ich bin zu Weihnachten nicht online gewesen, da keine Möglichkeit....
ich glaube du hast das falsch verstanden, denn der Pfeil mit dem Text, welchen ich im ersten Beitrag gezeigt habe, soll auch so als Pfeil mit Text auf genau der Position bleiben, wie er zu sehen ist. Nicht als Textzusatz oder Subheader...
Wenn ich den Div-Containier erstelle und den Text (bzw. die als Hingrund definierte Grafik - bestehend aus Pfeil und Text) so wi im ersten Post positioniere, dann verschiebt es mir alles wenn die Seite im Browser aufrufe - kann man das irgendwie verstehen.... ?!
Habe hier nochmal eine Grafik angehängt, vielleicht is das einigermassen ersichtlich - die rot eingerahmte Pfeil-Text Grafik soll da hin, wo der rote Pfeil hinzeigt
Und auch dort bleiben - das ist dann mein eigentliches Problem... 
-
Die absolute Positionierung positioniert dein Element in abhängigkeit zu dem ersten Elternknoten der die Positionierung auf Standard (static) hat. D.h. wenn du dein Element in das Div-Element "Vita" verschiebst und das keine position-angabe hat, kannst du es mit left,right,top und bottom dementsprechend verschieben, dass es so wirkt als wäre es nicht im Textfluss integriert. Alle anderen Elemente werden bei position:absolute nicht beeinflusst...
Ganz gute Beispiele dafür kannst du hier finden: http://www.css4you.de/position.html
Ähnliche Themen
-
Zeilenumbruch nach div-Container soll weg
Von Igäl im Forum CSSAntworten: 8Letzter Beitrag: 10.02.09, 20:57 -
newsticker im table soll mitscrollen
Von frederike im Forum HTML & XHTMLAntworten: 3Letzter Beitrag: 29.06.05, 03:19 -
Navigation soll mitscrollen
Von seberix im Forum HTML & XHTMLAntworten: 1Letzter Beitrag: 07.06.05, 14:54 -
Div Box soll nur zum Teil mitscrollen....
Von Mystic Tine im Forum CSSAntworten: 6Letzter Beitrag: 24.11.04, 15:19 -
Background soll nicht mitscrollen,wie?
Von hagi2k2 im Forum HTML & XHTMLAntworten: 14Letzter Beitrag: 10.05.04, 14:30





Zitieren
Login





