Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming > Web Coding

Reply
 
LinkBack Thread Tools
Old 07-29-09   #1 (permalink)
4.0 GHz
 
pr0bie's Avatar
 
intel ati

Join Date: Oct 2008
Location: Taupo, NZ
Posts: 523

Rep: 33 pr0bie is acknowledged by some
Unique Rep: 28
Hardware Reviews: 7
Trader Rating: 0
Default HTML Background issues

Im having issues with a website site im chucking together,
I can't, for the life of me, get the back ground to cover the entire page.
My HTML\CSS knowledge is well...limited
Just wondering if someone could give me a hand.
Heres the code:

Code:
<html xmlns:fo="http://www.w3.org/1999/XSL/Format"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Highland Cottage - Home</title><meta name="AUTHOR" content="SWsoft"><meta name="ID" content="sitebuilder_1237770059"><meta name="KEYWORDS" content="Bed &amp; Breakfast, Highland, Cottage, Acacia Bay, Taupo, Self Contained"><meta name="DESCRIPTION" content="Highland Cottage Acacia Bay Taupo"><link href="css/styles.css" rel="stylesheet" type="text/css"><style>
				img { behavior:url('images/pngbehavior.htc'); }
			.style1 {color: #000000}
.style2 {
	font-size: 12px;
	color: #000000;
	font-family: Tahoma;
}
body {
	background-image: url(images/bg.jpg);
	background-repeat: repeat;
	background-color: #990000;
}
</style></head><BODY MARGINHEIGHT="0" MARGINWIDTH="0" TOPMARGIN="0" RIGHTMARGIN="0" BOTTOMMARGIN="0" LEFTMARGIN="0"><TABLE WIDTH="101%" HEIGHT="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0">
  <TR><TD background="images/bg.jpg" style="background-image: url('images/bg.gif')"}><TABLE WIDTH="745" HEIGHT="100%" BORDER="0" align="center" CELLPADDING="0" CELLSPACING="0" background="images/bg.jpg" style="
		background-color:  white; background-image:  url('images/header.jpg'); background-repeat: no-repeat;
	">
<TR><TD width="142" height="296" rowspan="2" valign="top" background="images/bg.jpg"><table width="137" cellpadding="0" cellspacing="0" background="images/bg.jpg" style="margin: 47px 0px 0px 6px;">
              <tr><td colspan="3"><img src="images/menu_tbg.jpg" border="0"></td>
              </tr><tr><td width="5"></td><td height="136" width="123" style="background-image: url('images/menu_bg.gif'); background-repeat: repeat-y;" valign="top"><table cellpadding="0" cellspacing="0" width="123" height="136" style="background-image: url('images/menu_bg.jpg'); background-repeat: no-repeat;" border="0"><tr><td valign="top"><table cellpadding="0" cellspacing="0" width="107" align="center" border="0"><tr><td width="100%" height="22" bgcolor="#F4FCF2" style="padding-left: 7px;"><span class="amenu">Home</span></td><td valign="bottom"><img src="images/amenu_rbg.gif" border="0" width="5" height="100%"></td></tr><tr><td height="1" colspan="3"></td></tr><tr><td width="100%" height="22" bgcolor="#ADE29A" style="padding-left: 7px;"><a href="room.html" class="menu">Room and Tariff</a></td><td valign="bottom"><img src="images/menu_rbg.gif" border="0" width="5" height="100%"></td></tr><tr><td height="1"></td></tr><tr><td width="100%" height="22" bgcolor="#ADE29A" style="padding-left: 7px;"><a href="attractions.html" class="menu">Local Attractions</a></td><td valign="bottom"><img src="images/menu_rbg.gif" border="0" width="5" height="100%"></td></tr><tr><td height="1"></td></tr><tr><td width="100%" height="22" bgcolor="#ADE29A" style="padding-left: 7px;"><a href="links.html" class="menu">Links</a></td><td valign="bottom"><img src="images/menu_rbg.gif" border="0" width="5" height="100%"></td></tr><tr><td height="1"></td></tr><tr><td width="100%" height="22" bgcolor="#ADE29A" style="padding-left: 7px;"><a href="contact.html" class="menu">Contact us</a></td><td valign="bottom"><img src="images/menu_rbg.gif" border="0" width="5" height="100%"></td></tr><tr><td height="1"></td></tr></table></td>
              </tr></table></td><td width="9"></td></tr><tr><td height="25" colspan="3"><img src="images/menu_bbg.png" width="137" height="25" border="0"></td>
              </tr></table></TD>
          <TD width="603" valign="top" background="images/bg.jpg">&nbsp;</TD>
</TR><TR><TD width="603" height="100%" valign="top"><table width="200" border="0">
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td><p>&nbsp;</p>
      <p>&nbsp;</p></td>
  </tr>
</table>
  <table width="554" cellpadding="0" cellspacing="0" background="images/bg.jpg" style="margin: 75px 0px 0px 10px;">
    <tr><td align="right" background="images/bg.jpg" class="text-header">&nbsp;</td>
</tr><tr><td height="15"></td></tr><tr><td background="images/bg.jpg" class="text"><span>
                  <h2>Highland Cottage, Acacia Bay, Taupo</h2>
</span>
                  <ul>
                    <li><span class="style1">Escape to our fully self contained private cottage<BR>
                        </span></li>
                    <li><span class="style1">Enjoy rural views of   Lake Taupo<BR>
                    </span></li>
                    <li><span class="style1">Fantastic food and coffee just 5 minutes walk from our   cottage.<BR>
                    </span></li>
                    <li><span class="style1">Self Catering continental / cooked breakfast included<BR>
                    </span></li>
                    <li><span class="style1">One Queen   Size room with en-suite<BR>
                    </span></li>
                    <li><span class="style1">Tennis court<BR>
                    </span></li>
                    <li><span class="style1">TV - electric blanket - BBQ - washing   machine - open fire</span></li>
                  </ul>
                  <p class="style2">Highland Cottage is situated on peaceful, private five acres overlooking the Turkairangi Valley.</p>
                  <p class="style2">Lake Taupo is accessible in 15minutes by foot, for a swim or a fish. Also within a 5 minute drive are tennis courts, restaurant/bar and shop. Vineyard, golf course and boat ramps are all close by.</p>
                  <p class="style2">The cottage includes 1 queen-sized bedroom ensuite, a fold-out double bed, a self-contained kitchen with full cooking facilities, dining area and lounge with TV and cosy fire. </p>
                  <p class="style2">Enjoy your self-help breakfast 'al-fresco' style on your own sunny deck. It includes free-range eggs and bacon, or provisions for continental breakfast as required.</p>
                  <p class="style2">Alteratively take a short wander down the quiet road to the cafe for a coffee and view of some local art. Fishing trip (by arrangement), thermal attractions, beaches, ski fields (1hr away) and mountain bike riding all easily accessible.</p>
                  <ul>
                    <blockquote>
                      <div align="left"></div>
                    </blockquote>
                  </ul>
                  <p><span><BR>
                  </span></p>
                  <span>
                  <p align="center"><img name="cottage" src="photos/cottage front 2.jpg" width="500" height="300" alt="Cottage Front View"><br/>
                    <br/><br/><br/><br/><br/><br/><br/>
                  </p>
                  </span></td>
			</tr><tr><td height="15"></td></tr></table></TD>
</TR><TR><TD width="745" height="33" colspan="2" align="right" background="images/bg.jpg" class="footer" style="background-image: url('images/footer_bg.jpg'); background-repeat: no-repeat; padding-right: 39px;">All Rights Reserved...</TD>
</TR></TABLE>
      </TD>
</TR></TABLE>
</BODY></html>
If you open the code in IE youll see parts where the bg.jpg (not bg.gif) doesnt cover, though it should.

FYI im using Dreamweaver to code this.

Let me know if you need the source images.
__________________
Windows 7Fan Club

Overclocking The E7300

MY E7300@4.25ghz
MY E7300@4ghz 2000FSB

Quote:
Originally Posted by arkheii View Post
Well, it's much prettier than the Asus P55. That was colored piss, this is colored turd.
Quote:
Originally Posted by justarealguy View Post
lol, this was for shiz n giggles.
My RANDOM CLASS SPAWN TF2 Server. NZ/AUS Please Join 60.234.73.180:27015

System: 75%
CPU
E7300 @ 3.33ghz
Motherboard
Gigabyte X48-ds4
Memory
2x 2gb corsair ddr2 800 xms2 dhx
Graphics Card
HIS HD4890oc 1GB 900/4000
Hard Drive
640gb WD Black edition 32mb+250gb seagate
Sound Card
Integrated
Power Supply
Corsair VX-550
Case
Some peice. Acrylic Mod next month
CPU cooling
Stock- Water Soon
GPU cooling
Reference
OS
Windows 7 64bit BETA/ Vista x64
Monitor
LG 19" LCD 1440x900
pr0bie is offline   Reply With Quote
Old 07-29-09   #2 (permalink)
Heru <3
 
aksthem1's Avatar
 
amd nvidia

Join Date: Jul 2007
Location: Fort Worth, Texas
Posts: 3,943

Rep: 594 aksthem1 is becoming famousaksthem1 is becoming famousaksthem1 is becoming famousaksthem1 is becoming famousaksthem1 is becoming famousaksthem1 is becoming famous
Unique Rep: 444
Trader Rating: 9
Default

Can you post up the images? Makes it a bit harder to work with it without them.

System: Sandwich Burglar v2.0
CPU
Athlon II X4 620 @ 3.4GHz
Motherboard
Gigabyte GA-MA790X-DS4
Memory
4x1GB OCZ Platinum Rev. 2 DDR2 800
Graphics Card
PNY 8800GT 512MB
Hard Drive
WD 640GB AAKS + WD 250GB AAJS
Sound Card
Creative X-Fi XtremeGamer
Power Supply
Corsair VX550
Case
Antec 900
CPU cooling
Ultra 120 Extreme (Lapped) Push and Pull
GPU cooling
Zalman FC-ZV9 Blue LED
OS
Windows 7 Pro x64
Monitor
Debranded HP w2207 22"
aksthem1 is online now Overclocked Account   Reply With Quote
Old 07-29-09   #3 (permalink)
4.0 GHz
 
pr0bie's Avatar
 
intel ati

Join Date: Oct 2008
Location: Taupo, NZ
Posts: 523

Rep: 33 pr0bie is acknowledged by some
Unique Rep: 28
Hardware Reviews: 7
Trader Rating: 0
Default

Quote:
Originally Posted by aksthem1 View Post
Can you post up the images? Makes it a bit harder to work with it without them.
Thought that might be the way

Hows a RAR archive for you?
Attached Files
File Type: rar images.rar (180.7 KB, 7 views)
__________________
Windows 7Fan Club

Overclocking The E7300

MY E7300@4.25ghz
MY E7300@4ghz 2000FSB

Quote:
Originally Posted by arkheii View Post
Well, it's much prettier than the Asus P55. That was colored piss, this is colored turd.
Quote:
Originally Posted by justarealguy View Post
lol, this was for shiz n giggles.
My RANDOM CLASS SPAWN TF2 Server. NZ/AUS Please Join 60.234.73.180:27015

System: 75%
CPU
E7300 @ 3.33ghz
Motherboard
Gigabyte X48-ds4
Memory
2x 2gb corsair ddr2 800 xms2 dhx
Graphics Card
HIS HD4890oc 1GB 900/4000
Hard Drive
640gb WD Black edition 32mb+250gb seagate
Sound Card
Integrated
Power Supply
Corsair VX-550
Case
Some peice. Acrylic Mod next month
CPU cooling
Stock- Water Soon
GPU cooling
Reference
OS
Windows 7 64bit BETA/ Vista x64
Monitor
LG 19" LCD 1440x900
pr0bie is offline   Reply With Quote
Old 07-29-09   #4 (permalink)
Web Designer
 
ImmortalKenny's Avatar
 
amd ati

Join Date: Mar 2006
Location: Arizona
Posts: 6,144

Rep: 524 ImmortalKenny is becoming famousImmortalKenny is becoming famousImmortalKenny is becoming famousImmortalKenny is becoming famousImmortalKenny is becoming famousImmortalKenny is becoming famous
Unique Rep: 391
Hardware Reviews: 6
Trader Rating: 21
Default

Have you tried repeat-x or repeat-y?

System: ImmortalPuter
CPU
AMD Phenom II X2 550
Motherboard
DFI LP JR 790GX-M3H5
Memory
OCZ Gold 4GB (2x2) DDR3-1600
Graphics Card
XFX 4890 XXX
Hard Drive
Seagate 300GB + 320GB External
Sound Card
Creative XtremeMusic
Power Supply
OCZ GameXStream 700w
Case
Antec Mini P180 (Black)
CPU cooling
Noctua NH-U12P, 2x Ultra Kaze 3k's
GPU cooling
Stock
OS
Windows 7 Pro x64
Monitor
Acer H233H 1080p
ImmortalKenny is offline Overclocked Account ImmortalKenny's Gallery   Reply With Quote
Old 07-29-09   #5 (permalink)
4.0 GHz
 
pr0bie's Avatar
 
intel ati

Join Date: Oct 2008
Location: Taupo, NZ
Posts: 523

Rep: 33 pr0bie is acknowledged by some
Unique Rep: 28
Hardware Reviews: 7
Trader Rating: 0
Default

Quote:
Originally Posted by ImmortalKenny View Post
Have you tried repeat-x or repeat-y?
Have now, and no luck. Cheers anyway
__________________
Windows 7Fan Club

Overclocking The E7300

MY E7300@4.25ghz
MY E7300@4ghz 2000FSB

Quote:
Originally Posted by arkheii View Post
Well, it's much prettier than the Asus P55. That was colored piss, this is colored turd.
Quote:
Originally Posted by justarealguy View Post
lol, this was for shiz n giggles.
My RANDOM CLASS SPAWN TF2 Server. NZ/AUS Please Join 60.234.73.180:27015

System: 75%
CPU
E7300 @ 3.33ghz
Motherboard
Gigabyte X48-ds4
Memory
2x 2gb corsair ddr2 800 xms2 dhx
Graphics Card
HIS HD4890oc 1GB 900/4000
Hard Drive
640gb WD Black edition 32mb+250gb seagate
Sound Card
Integrated
Power Supply
Corsair VX-550
Case
Some peice. Acrylic Mod next month
CPU cooling
Stock- Water Soon
GPU cooling
Reference
OS
Windows 7 64bit BETA/ Vista x64
Monitor
LG 19" LCD 1440x900
pr0bie is offline   Reply With Quote
Old 07-29-09   #6 (permalink)
Web Designer
 
ImmortalKenny's Avatar
 
amd ati

Join Date: Mar 2006
Location: Arizona
Posts: 6,144

Rep: 524 ImmortalKenny is becoming famousImmortalKenny is becoming famousImmortalKenny is becoming famousImmortalKenny is becoming famousImmortalKenny is becoming famousImmortalKenny is becoming famous
Unique Rep: 391
Hardware Reviews: 6
Trader Rating: 21
Default

This would be so much easier to debug if the CSS was in a separate file.

System: ImmortalPuter
CPU
AMD Phenom II X2 550
Motherboard
DFI LP JR 790GX-M3H5
Memory
OCZ Gold 4GB (2x2) DDR3-1600
Graphics Card
XFX 4890 XXX
Hard Drive
Seagate 300GB + 320GB External
Sound Card
Creative XtremeMusic
Power Supply
OCZ GameXStream 700w
Case
Antec Mini P180 (Black)
CPU cooling
Noctua NH-U12P, 2x Ultra Kaze 3k's
GPU cooling
Stock
OS
Windows 7 Pro x64
Monitor
Acer H233H 1080p
ImmortalKenny is offline Overclocked Account ImmortalKenny's Gallery   Reply With Quote
Old 07-29-09   #7 (permalink)
4.0 GHz
 
pr0bie's Avatar
 
intel ati

Join Date: Oct 2008
Location: Taupo, NZ
Posts: 523

Rep: 33 pr0bie is acknowledged by some
Unique Rep: 28
Hardware Reviews: 7
Trader Rating: 0
Default

Quote:
Originally Posted by ImmortalKenny View Post
This would be so much easier to debug if the CSS was in a separate file.
How do i do that?

or is it this?

ill be back in about 30min lunch break. Cheers all
Attached Files
File Type: rar css.rar (394 Bytes, 1 views)
__________________
Windows 7Fan Club

Overclocking The E7300

MY E7300@4.25ghz
MY E7300@4ghz 2000FSB

Quote:
Originally Posted by arkheii View Post
Well, it's much prettier than the Asus P55. That was colored piss, this is colored turd.
Quote:
Originally Posted by justarealguy View Post
lol, this was for shiz n giggles.
My RANDOM CLASS SPAWN TF2 Server. NZ/AUS Please Join 60.234.73.180:27015

System: 75%
CPU
E7300 @ 3.33ghz
Motherboard
Gigabyte X48-ds4
Memory
2x 2gb corsair ddr2 800 xms2 dhx
Graphics Card
HIS HD4890oc 1GB 900/4000
Hard Drive
640gb WD Black edition 32mb+250gb seagate
Sound Card
Integrated
Power Supply
Corsair VX-550
Case
Some peice. Acrylic Mod next month
CPU cooling
Stock- Water Soon
GPU cooling
Reference
OS
Windows 7 64bit BETA/ Vista x64
Monitor
LG 19" LCD 1440x900
pr0bie is offline   Reply With Quote
Old 07-29-09   #8 (permalink)
Web Designer
 
ImmortalKenny's Avatar
 
amd ati

Join Date: Mar 2006
Location: Arizona
Posts: 6,144

Rep: 524 ImmortalKenny is becoming famousImmortalKenny is becoming famousImmortalKenny is becoming famousImmortalKenny is becoming famousImmortalKenny is becoming famousImmortalKenny is becoming famous
Unique Rep: 391
Hardware Reviews: 6
Trader Rating: 21
Default

Quote:
Originally Posted by pr0bie View Post
How do i do that?

or is it this?

ill be back in about 30min lunch break. Cheers all
Bah, that doesn't help. If I were you, I would remake the website (having the CSS in a separate .css file), and for the love of God, don't use tables.
If all else fails, hire a web designer.

System: ImmortalPuter
CPU
AMD Phenom II X2 550
Motherboard
DFI LP JR 790GX-M3H5
Memory
OCZ Gold 4GB (2x2) DDR3-1600
Graphics Card
XFX 4890 XXX
Hard Drive
Seagate 300GB + 320GB External
Sound Card
Creative XtremeMusic
Power Supply
OCZ GameXStream 700w
Case
Antec Mini P180 (Black)
CPU cooling
Noctua NH-U12P, 2x Ultra Kaze 3k's
GPU cooling
Stock
OS
Windows 7 Pro x64
Monitor
Acer H233H 1080p
ImmortalKenny is offline Overclocked Account ImmortalKenny's Gallery   Reply With Quote
Old 07-29-09   #9 (permalink)
Heru <3
 
aksthem1's Avatar
 
amd nvidia

Join Date: Jul 2007
Location: Fort Worth, Texas
Posts: 3,943

Rep: 594 aksthem1 is becoming famousaksthem1 is becoming famousaksthem1 is becoming famousaksthem1 is becoming famousaksthem1 is becoming famousaksthem1 is becoming famous
Unique Rep: 444
Trader Rating: 9
Default

Quote:
Originally Posted by ImmortalKenny View Post
Bah, that doesn't help. If I were you, I would remake the website (having the CSS in a separate .css file), and for the love of God, don't use tables.
If all else fails, hire a web designer.
Yes, I agree. It's a mess to work with. I got it to go all the way across, but for some reason it stops halfway down the page.

System: Sandwich Burglar v2.0
CPU
Athlon II X4 620 @ 3.4GHz
Motherboard
Gigabyte GA-MA790X-DS4
Memory
4x1GB OCZ Platinum Rev. 2 DDR2 800
Graphics Card
PNY 8800GT 512MB
Hard Drive
WD 640GB AAKS + WD 250GB AAJS
Sound Card
Creative X-Fi XtremeGamer
Power Supply
Corsair VX550
Case
Antec 900
CPU cooling
Ultra 120 Extreme (Lapped) Push and Pull
GPU cooling
Zalman FC-ZV9 Blue LED
OS
Windows 7 Pro x64
Monitor
Debranded HP w2207 22"
aksthem1 is online now Overclocked Account   Reply With Quote
Old 07-29-09   #10 (permalink)
Web Designer
 
ImmortalKenny's Avatar
 
amd ati

Join Date: Mar 2006
Location: Arizona
Posts: 6,144

Rep: 524 ImmortalKenny is becoming famousImmortalKenny is becoming famousImmortalKenny is becoming famousImmortalKenny is becoming famousImmortalKenny is becoming famousImmortalKenny is becoming famous
Unique Rep: 391
Hardware Reviews: 6
Trader Rating: 21
Default

Quote:
Originally Posted by aksthem1 View Post
Yes, I agree. It's a mess to work with. I got it to go all the way across, but for some reason it stops halfway down the page.
Probably because there's tables inside of tables inside of tables...

*head explodes*

System: ImmortalPuter
CPU
AMD Phenom II X2 550
Motherboard
DFI LP JR 790GX-M3H5
Memory
OCZ Gold 4GB (2x2) DDR3-1600
Graphics Card
XFX 4890 XXX
Hard Drive
Seagate 300GB + 320GB External
Sound Card
Creative XtremeMusic
Power Supply
OCZ GameXStream 700w
Case
Antec Mini P180 (Black)
CPU cooling
Noctua NH-U12P, 2x Ultra Kaze 3k's
GPU cooling
Stock
OS
Windows 7 Pro x64
Monitor
Acer H233H 1080p
ImmortalKenny is offline Overclocked Account ImmortalKenny's Gallery   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -5. The time now is 10:46 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.22361 seconds with 9 queries