Jump to content

louie

Members
  • Posts

    44
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by louie

  1. louie

    Tryit editor

    Do you guys know anything similar with tryiteditor coded in PHP? i tried searching but havent really found a good one.
  2. Good idea... They should create a section here "only" used for posting a lot of PHP (or other script) examples. but forum members will be the ones who would be verifying the correctness/accuracy of it. If W3schools like the examples. they could even add it to the website just like what you said.
  3. Why dont you just use wordpress or some pre-made blog thing... I think you can customize fully these pre-made blogs. creating a blog would mean learning a bit of advance PHP and MySQL. But hey, if you wanna be original and create your very own blog, go for it. It's pretty much a challenge! but people will respect you for it.i guess you need atleast one server side script/language like PHP and at least one database like MySQL if you want a blog. You can actually save blog entries in text files but hey! just use the database instead if you know how to handle one...
  4. louie

    Div inside Divs

    Yep... pretty much the same. I just edited jherzog's own code. There a lots of ways of doing it. depends on the coder how he does it.
  5. louie

    Protecting CSS files

    Thanks a lot guys for the help/info. i tried doing one of your suggestions. it worked out quite fine but i figured it would be useless. coz i checked the temporary internet files folder. the css is always there. no matter what. the browser needs it i figure.but anyway. thanks a lot for the help.
  6. louie

    Protecting CSS files

    Why would i want to protect my CSS files? coz a lot of people would just simply steal your code/layouts and claim it as theirs. you wouldnt want another copy of your website elsewhere. some people would simply copy/paste your code and (not even change a thing!) then they have an instant website, courtesy of you. But its not really a big deal. i was just wondering how to do it.
  7. I dont really "clearly" understand what the problem is, but try adding a min-height property to the two divs beside the content area.
  8. That's the main problem. What if your site is composed of 1000 pages? You dont really want to duplicate it all. You just need a PHP function that will echo the preferred CSS file in the head. It would really save you a lot of webspace. Ive read somewhere that i should use caches but i dont really know how to do it yet. Im still working it out. Hope somebody can help.
  9. louie

    Protecting CSS files

    Is there a way to protect CSS files? Is there a way to somehow encrypt it? Or are there other means of doing it?
  10. louie

    FLASH Versus HTML

    Im just wondering. Which would you prefer? Plain HTML websites or full flash websites? Or a little flash in an HTML page? Im not really an advocate of flash... But i do use it sometimes for menus/navigation sytems. so id take option 3. Share us what you think.
  11. louie

    Could I....

    Almost all hosting plans now have prebuilt/pre-installed scripts and applications. You should have no trouble installing it... no server side scripting knowledge required, not unless you want to fully modify it. If you want to change for example a forum's theme, you could download it free somewhere or you can create your own. If you're hosted free you can sign-up for forums/guestbooks in websites that offer these.
  12. Does anybody know how to create a PHP function wherein one can switch from one stylesheet to another? I have seen many examples of this, and some are written in javascript. The problem is, for example if you go to page 2, the default stylesheet will then be used again. For example i have 3 themes/CSS for my website, RED, BLUE, AND ORANGE. for example, i selected RED theme and then decided to go to another page of the website. I should be maintaining the RED theme. and so if im already in page 2 then i select BLUE theme, wherever i go, i should be maintaining the blue theme not unless i selected a new theme.I have read about Peter-Paul Koch javascript switching technique, but i think it only works for one page. I know it is possible i just dont know how for i am a bit a beginner at php scripting.
  13. louie

    Div inside Divs

    You should change the position to "relative". Try the code below. <html><head><style type="text/css">div.1{height:auto;background-color:#000000;}div.2{position: relative;top:10px;left:10px;width:10px;min-height:50px;background-color:#ffffff;}</style></head><body><div class="1"><div class="2">This is a white text box defined in Div 2. Yet since it is also inside Div 1 the page should have a black background as high as this text box, right?</div></div></body></html> and i also change the height property of div 2 two to "min-height", since it is stretching.
  14. yep... maybe they should add more examples... HTML/CSS tutorials have a lot of examples... why dont they do the same for PHP Tuts?
  15. included in HTML 4.01 and XHTML 1.0,Do you know other tags not listed there? aside form marquee and blink?
  16. Just try to to learn a tag each day... Try using and experimenting with it. Practice is the key.
  17. louie

    Vertical Centering

    whew! i was really hoping there was another way. Then 2 div's it is.
  18. louie

    Vertical Centering

    Take a look at this example: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html><head><title>Testing</title><style type="text/css">body, html { background: #CC3300; text-align: center}#test { width: 300px; height: 300px; margin-left: auto; margin-right: auto; background: #FFF}</style></head><body><div id="test"> some text here.</div></body></html> I am trying to center the text inside the div vertically. I have tried using the vertical-align property but doesnt seem to work. I have seen some examples elsewhere but uses 2 divs instead of one. Is there a way to do it using only one div?
  19. Are there any other tags aside from marquee that is not included?
×
×
  • Create New...