Jump to content


Scrolling in tables?


11 replies to this topic

#1 Maxx-Designs

    P2L Jedi

  • Members
  • PipPipPip
  • 681 posts
  • Location:Australia

Posted 19 August 2005 - 01:19 AM

Hello, i followed this tutorial to code my website, ( i beleive a better alternative to iframes) but how can i get it to have a scroll bar with out screwing up my template???


Thanks

#2 syndrome

    P2L patient #4819

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

Posted 19 August 2005 - 03:59 AM

could we see an example of it please, its hard to see what the problem is.

Your problems maybe solved by looking at the ultimate slicing guide.

http://www.slicingguide.com

written by Faken.

Edited by syndrome, 19 August 2005 - 04:01 AM.


#3 Maxx-Designs

    P2L Jedi

  • Members
  • PipPipPip
  • 681 posts
  • Location:Australia

Posted 19 August 2005 - 04:05 AM

sorry bguys but thats a really big thing and is imtimadating

anyways. well you know how you make a template then go save for web it putsa it in tables. if you go over the table argins it screws it up. i just want to put a scroll bar in it.

I want it for my website.

www.maxx-designs.net

#4 syndrome

    P2L patient #4819

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

Posted 19 August 2005 - 10:28 AM

One piece of advice do not use photoshop save for web slice feature, you just run into problems. I again urge you to use the tut, there is nothing too big or intimidating about it the excuse is just ;), the tut is in depth and detailed. If you want a scroll bar in every individual content box, you probably have no alternative but using iframes.

EDIT: do you mean the gradient is screwing up? if so then thats a graphic problem. again use iframes and put this :
<style type="text/css">
body{
background-image: url(image.gif);
background-repeat: no-repeat;
}
</style>


Any body else feel free to offer a solution.

Edited by syndrome, 19 August 2005 - 10:41 AM.


#5 coolaid

    P2L Jedi Master

  • Members
  • PipPipPipPip
  • 1,435 posts
  • Gender:Male
  • Interests:i wonder..

Posted 19 August 2005 - 02:27 PM

you want a scrollbar within a table? then this very recent thread might help. but thats what i think you're asking
http://www.pixel2lif...showtopic=10903

#6 Maxx-Designs

    P2L Jedi

  • Members
  • PipPipPip
  • 681 posts
  • Location:Australia

Posted 19 August 2005 - 05:07 PM

i just dont have time to do big time coding the tut that im using is quick and fast. i used ot use iframes but they are so slow............

#7 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 20 August 2005 - 11:10 AM

syndrome, on Aug 19 2005, 08:28 AM, said:

One piece of advice do not use photoshop save for web slice feature, you just run into problems. I again urge you to use the tut, there is nothing too big or intimidating about it the excuse is just :ph34r:, the tut is in depth and detailed. If you want a scroll bar in every individual content box, you probably have no alternative but using iframes.
correct, just modify your table so it's something like the following
<table>
  <tr>
    <td>
    <div style="width:100px; height:100px; overflow:auto;">
    <!-- CONTENT GOES HERE -->
    </div>
    </td>
  </tr>
</table>
Basically just add that div tag into the cell you want to have the scroll bar, then adjust the height and width as neccessary.

p.s. i swear this question has be answerd 1,000 times, how come nobody thought of it??

Edit: correction, coolaid beat me to the punch (which is sorta ironic if you think about that sentance for a little bit). He got the exact thread i was thinking about :huh:

Edited by rc69, 20 August 2005 - 11:11 AM.


#8 Maxx-Designs

    P2L Jedi

  • Members
  • PipPipPip
  • 681 posts
  • Location:Australia

Posted 20 August 2005 - 06:12 PM

lol, thanks guys. i dont know div layers. does any one know any good tutorials on it???

#9 coolaid

    P2L Jedi Master

  • Members
  • PipPipPipPip
  • 1,435 posts
  • Gender:Male
  • Interests:i wonder..

Posted 20 August 2005 - 09:11 PM

unless you wanna create a site entirely in divs, dont bother, cause then you'll probably just end up adding divs inside tables which wouldnt be needed. but thers a tutorial on my site that goes over creating you first webpage in divs/css.

but now, if you dont wanna switch to divs, add the styles into the td of the table. e.g.
<table>
 <tr>
   <td style="width:100px;height:100px;overflow:auto;">
   <!-- CONTENT GOES HERE -->
   </td>
 </tr>
</table>


#10 Maxx-Designs

    P2L Jedi

  • Members
  • PipPipPip
  • 681 posts
  • Location:Australia

Posted 21 August 2005 - 03:51 PM

if i knew what you were talking about i would greatly appciate it :hi: i decided i will do expanding cotent boxes, i have been using dw for tables and ppl tell me thats bad so im getting frontpage.

#11 Jaymz

    Retired P2L Staff

  • Members
  • PipPipPipPip
  • 4,104 posts

Posted 21 August 2005 - 03:59 PM

Maxx-Designs, on Aug 21 2005, 05:51 PM, said:

i have been using dw for tables and ppl tell me thats bad so im getting frontpage.
Dreamweaver is far better in comparison to Frontpage :hi: I can't imagine giving up Dreamweaver for Frontpage :hi:

#12 adam123

    Retired P2L Staff

  • Members
  • PipPipPipPip
  • 2,306 posts
  • Location:London, UK
  • Interests:Programming and stuff.

Posted 21 August 2005 - 04:01 PM

Maxx-Designs, on Aug 21 2005, 09:51 PM, said:

if i knew what you were talking about i would greatly appciate it :hi: i decided i will do expanding cotent boxes, i have been using dw for tables and ppl tell me thats bad so im getting frontpage.
Even though i would seriously recommend using something like notepad to code, don't get rid of DW, it's a much more powerful application than Frontpage.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users