-
beginner PHP question - echo()
There has been complaints about this, but not nearly enough. And you do not want to have them stored as strings. Two solution exists, this or this. Short answer; try 'printf("%f", $couponCode);'.
-
My very first web page
1; You don't need global containers like that ("konteineris"), try moving CSS properties from it to body, and remove the container. 2; headerimage does not really need a wrapper div, you can just create an id and apply it directly to the image. 3; What's with the <p><a><img /></a></p>? 4; Please move CSS to an external file. 5; validate 6; validate 7 - 'bit overkill; optimize Other then that, great done. I didn't create nearly that good 'a first page.
-
Sidebar beeing 100% in height.
True. <: Well, you are, and your not with a background image. As long as the creator added a background-color along the background-image, deleting the image does not 'break' the site. However, if you remove the background image of faux-columns you will have troubles understanding the logics of the site. And saying 'people are used to background images' is like saying 'eh, 75% of users use IE, why bother about the rest'. None of the solutions are good though, I'll just change my design instead...
-
Sidebar beeing 100% in height.
That's probably the ugliest hack I've seen in my entire life.. but it can work. I'll try it out. I don't know how PDA's will like that solution though... anyhow, thanks, I'll try.
-
Sidebar beeing 100% in height.
No. Just no. Worst solution ever. How can you enforce images on users, that's the worst thing to do - ever. Besides, columns isn't static in width.
-
Sidebar beeing 100% in height.
Hello there! I just hit a problem i couldn't solve myself, this forum seems like a great forum, so i thought i could try my luck here. First off, a screenshot of the intended design. What I'm trying to achieve is getting that right sidebar (with all the links) to be 100% of the window if sitesize < windowsize, but be 100% of the site in other cases. Works great with this CSS; #left { /* It's really on the right, I'll fix this when I have the time. */ position: absolute; right: 0; top: 0; min-height: 100%; height: auto !important; height: 100%; width: 150px; } ...but only as long as the content is inside that div. If however the main content gets bigger then the window size, the "left" (right) column is not catching up, shown here. So, what i need is either a solution getting the #left to scale, finding a solution including floats or changes in design. Any ideas?