Staredit Network > Forums > Technology & Computers > Topic: Web designing help
Web designing help
Jul 18 2009, 11:24 pm
By: MeNtAlPaTiEnT  

Jul 18 2009, 11:24 pm MeNtAlPaTiEnT Post #1



Ok, hey guys. Been trying to figure this one out for a while. I'm using photoshopped content boxes for the left, middle, and right sides of the web site. Check the picture to get a better idea of the design.

My problem is that when the content in the middle gets bigger and longer, the side boxes stretch along with the main content box because slicing creates tables and seems to fuck everything up. Can anyone provide a solution to my problem? I want the side boxes to remain their fixed state, but still retain their own flexibility, so when content becomes larger in the side boxes, they stretch on their own.

Thanks for any help.



None.

Jul 18 2009, 11:28 pm Jello-Jigglers Post #2



Which picture where?



None.

Jul 18 2009, 11:29 pm MeNtAlPaTiEnT Post #3



Quote from MeNtAlPaTiEnT
Ok, hey guys. Been trying to figure this one out for a while. I'm using photoshopped content boxes for the left, middle, and right sides of the web site. Check the picture to get a better idea of the design.

My problem is that when the content in the middle gets bigger and longer, the side boxes stretch along with the main content box because slicing creates tables and seems to fuck everything up. Can anyone provide a solution to my problem? I want the side boxes to remain their fixed state, but still retain their own flexibility, so when content becomes larger in the side boxes, they stretch on their own.

Thanks for any help.


Attachments:
Untitled-1.gif
Hits: 7 Size: 68.21kb



None.

Jul 18 2009, 11:31 pm MeNtAlPaTiEnT Post #4



This is what I get everytime I increase the content in the middle main content box with slicing...

Attachments:
Untitled-12.gif
Hits: 12 Size: 67.43kb



None.

Jul 19 2009, 10:46 pm Falkoner Post #5



Are you controlling the content that is going into that column? Because I'd make the content fit to the side bars, rather than trying to do it the other way around, and just give them a fixed pixel length, and then just have the middle section fill the rest(width: 100%)

However, if that isn't an option, you could also use Javascript to get the size of whatever is going in the sidebars, and adjust them accordingly. Maybe I'm overcomplicating it, there's probably a simpler solution than that.



None.

Jul 20 2009, 12:13 am MeNtAlPaTiEnT Post #6



Thanks falk. Nope, you made it pretty simple in my eyes. But, in order to have the side bars (side content boxes) have text in them, wouldn't I have to slice the boxes? I could do hotspots for the links, but... na. If I slice the boxes to add links on top of the images (side boxes), when the main content box stretches, the side boxes screw up.
I'm still a newbie to designing web pages, so I'm probably missing something obvious as to how to add links on top of the content boxes... Maybe I could do absolute positioning for the links?

Thanks for the help.



None.

Jul 20 2009, 1:35 am Atlos Post #7



Typically, I photoshop a horizontal slice of the box and then use that as the background image of the div. That will make it repeat and be stretchable for when the content gets too long. For the title on the boxes I just use a separate background image and div.



None.

Jul 20 2009, 2:04 am MeNtAlPaTiEnT Post #8



Not too familiar with divs, I'm looking into them as we speak. Care to share any personal bits of wisdom regarding designing using divs? Thanks!

-mp



None.

Jul 20 2009, 3:53 am FlyingHat Post #9



Use spans if you don't like the linebreaks that divs create.



None.

Jul 20 2009, 6:27 am MeNtAlPaTiEnT Post #10



I'm on to somethign now! I've used a template layout using divs, it has a header, left, middle, right, footer.

What I've done is slice a content box on its own and insert the html into div right and left. The content boxes stretch on their own accord so far... I'll post a demo once I've finished more.



None.

Jul 20 2009, 6:27 am Falkoner Post #11



Quote
Not too familiar with divs, I'm looking into them as we speak. Care to share any personal bits of wisdom regarding designing using divs? Thanks!

Haha, you should definitely be using divs if you're trying to make a web page like you are, your titles for the sides like "Web Design" and such should be the only thing that's an image, it should go on top of, or at the top of a div, and maybe even you could completely use CSS to do it, rather than using images at all.



None.

Jul 20 2009, 6:35 am MeNtAlPaTiEnT Post #12



Thanks again falk. I'm still somewhat confused on how to divs... It's just that I have been on here for hours without stop and without water... my mind is a little scrambled, but this is what I've managed to come up with so far!





None.

Jul 20 2009, 7:18 am MeNtAlPaTiEnT Post #13



OK, so I've done what I wanted. It's a super simple site (design wise), but I've learned a bit about divs. Will continue to learn about them of course.

Here's my working example of the site: http://mentalmp.vndv.com/index.php

Thoughts and opinions are welcome! If anybody has a cool background image I could add, like some tentacles or something... lemme know :).



None.

Jul 20 2009, 6:22 pm Falkoner Post #14



The site's down, but I like what I see from the picture, very nice! I would recommend doing something similar to the Carbonite skin on SeN, not the colors, just the basic idea, using your sidebars as margins, but instead of keeping the middle the same length, like Carbonite does, stretch the middle and keep the margins the same size.



None.

Jul 20 2009, 8:25 pm MeNtAlPaTiEnT Post #15



Very true falk, the middle content box does seem to be pretty small. I'll see what I can do. Is the link working yet? Seems to be working for me...



None.

Jul 20 2009, 8:39 pm Forsaken Archer Post #16



You could move away from tables and just use divs a lot more effectively for the little boxes. I do not care to go into it too much though ;o

The site is nice, simple, and elegant. I wish I could make sen the same way ^^



None.

Jul 20 2009, 8:47 pm MeNtAlPaTiEnT Post #17



Haha thanks IP. I remember seeing a rap video about web designing, and the rapper says something about stay away from tables and use divs. Meh.



None.

Jul 20 2009, 9:17 pm Falkoner Post #18



Currently with the way your site is designed I'm getting glitches with the sidebar on the right, it actually ends up going below the center:


It looks like your problem is in your CSS, when you copied the #left class, you didn't change it from float: left; to float right; :P



None.

Jul 20 2009, 10:15 pm MeNtAlPaTiEnT Post #19



Ok I believe I changed it properly... hopefully. Seems when I rezise the window, the boxes do what they do in your image.. They go under each other and such. Any good way around this?



None.

Jul 20 2009, 11:43 pm Falkoner Post #20



Well, a lame fix would be to have a table with 3 columns, and put the div in each of the columns, but I don't know how to fix it properly..



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[10:11 pm]
Ultraviolet -- :P
[10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[2024-4-17. : 1:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
[2024-4-17. : 1:52 am]
Vrael -- hah do you think I was born yesterday?
Please log in to shout.


Members Online: RexyRex, jun3hong