Jump to content


Content Box


8 replies to this topic

#1 syndrome

    P2L patient #4819

  • Twodded Staff
  • PipPipPipPip
  • 1,311 posts
  • Location:Nottingham, UK
  • Interests:Photoshop, Tennis, PS2, web design, CS:S

Posted 22 April 2005 - 02:33 PM

I'm having trouble getting a content box to expand vertically this is what happens....... example

this is the code.....
<TABLE WIDTH=300 BORDER=0 CELLPADDING=0 CELLSPACING=0>
	<TR>
  <TD COLSPAN=3>
            <IMG SRC="images/index_01.jpg" width=300 height=10 ALT=""></TD>
	</TR>
	<TR>
  <TD ROWSPAN=4>
 	 <IMG SRC="images/index_02.jpg" WIDTH=9 HEIGHT=290 ALT=""></TD>
  <TD>
 	 <IMG SRC="images/index_03.jpg" WIDTH=279 HEIGHT=20 ALT=""></TD>
  <TD ROWSPAN=4>
 	 <IMG SRC="images/index_04.jpg" WIDTH=12 HEIGHT=290 ALT=""></TD>
	</TR>
	<TR>
  <TD background="images/index_05.jpg" WIDTH=279 HEIGHT=237 ALT="">BLABLABLABBLABLABLABLABLABLABLABLABLALA</TD>
	</TR>
	<TR>
  <TD>
 	 <IMG SRC="images/index_06.jpg" WIDTH=279 HEIGHT=18 ALT=""></TD>
	</TR>
	<TR>
  <TD>
 	 <IMG SRC="images/index_07.jpg" WIDTH=279 HEIGHT=15 ALT=""></TD>
	</TR>
</TABLE>

I'd be grateful if anyone can help me with this

#2 hammer

    Young Padawan

  • Members
  • Pip
  • 105 posts
  • Location:Sweden ,MF! =D
  • Interests:gay porno,gay porno,OMG LOL what i just wrote =D

Posted 23 April 2005 - 11:22 AM

<TD background=images/index_05.jpg  WIDTH=279 HEIGHT=237 ALT="">BLABLABLABBLABLABLABLABLABLABLABLABLALA</TD>
</TR>

This is how the code should be,u forgot to take away the ("") either u use ("") on everthing in ur code or u dont use it on anything u can't mix it :ph34r:.if this code doesnt work then i dunno whats wrong

#3 syndrome

    P2L patient #4819

  • Twodded Staff
  • PipPipPipPip
  • 1,311 posts
  • Location:Nottingham, UK
  • Interests:Photoshop, Tennis, PS2, web design, CS:S

Posted 23 April 2005 - 12:10 PM

<TD background=images/index_05.jpg WIDTH=21 HEIGHT=390 ALT="5"></TD>
  <TD background=images/index_06.jpg WIDTH=420 HEIGHT=390 ALT="6">BLABLABLABLABLABLABLABLABLABLABLABLABLABLABLABLABLABLABLABLABLABLABLABLABLAB
LABLABLABLA</TD>
  <TD COLSPAN=2 background=images/index_07.jpg WIDTH=24 HEIGHT=390 ALT="7"></TD>

Nope still the same :ph34r:

#4 Jaymz

    Retired P2L Staff

  • Members
  • PipPipPipPip
  • 4,104 posts

Posted 23 April 2005 - 12:14 PM

Try putting spaces between the "BLAH" text. It can't wrap text when there are no places to break it :ph34r:

#5 syndrome

    P2L patient #4819

  • Twodded Staff
  • PipPipPipPip
  • 1,311 posts
  • Location:Nottingham, UK
  • Interests:Photoshop, Tennis, PS2, web design, CS:S

Posted 23 April 2005 - 12:17 PM

YES thankyou your brilliant :ph34r:

#6 syndrome

    P2L patient #4819

  • Twodded Staff
  • PipPipPipPip
  • 1,311 posts
  • Location:Nottingham, UK
  • Interests:Photoshop, Tennis, PS2, web design, CS:S

Posted 23 April 2005 - 01:21 PM

Can anyone help me with this now here :ph34r:

#7 Jaymz

    Retired P2L Staff

  • Members
  • PipPipPipPip
  • 4,104 posts

Posted 23 April 2005 - 02:17 PM

Looks like a slicing problem to me ;)

#8 syndrome

    P2L patient #4819

  • Twodded Staff
  • PipPipPipPip
  • 1,311 posts
  • Location:Nottingham, UK
  • Interests:Photoshop, Tennis, PS2, web design, CS:S

Posted 23 April 2005 - 02:20 PM

great ;) is there any other way to stretch the content box and the rest not to stretch or can you tell me how to slice it properly without going into too much detail. Dont worry if you can't :D

or shalll I use an Iframe like usual

#9 Jaymz

    Retired P2L Staff

  • Members
  • PipPipPipPip
  • 4,104 posts

Posted 23 April 2005 - 02:24 PM

Try giving the problem cells fixed heights (the same as the image they contain) and valign to top.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users