While I am studying web page design and trying to improve my own coding style, I discovered something unusual to me. By using <div> and <span> tags we can display our design better compared by just using tables (using the <table> tag to create the design or face of a page). At first, I encountered problems on my positioning, when resizing the browser, the position of my element seemed to be interrupted. The real position when the browser fits the screen does not retain by resizing the browser, but this problem was then later solved because of researching on the net.
This is what I discovered so that an element would not be disrupted when the browser is re-sized:
For example we are using <div> as an element to display the word Home | Profile | Gallery on the browser with its specific position in pixels enclosed in a table, the right coding would be:
<center>
<table height="600" width="600" border="2">
<tr>
<td>
<div style="position: absolute; top: 200px;">
<div style="position: absolute; left: 10px; width: 400px;">
<b>Home | Profile | Gallery</b>
</div>
</div>
</td>
</tr>
</table>
</center>
In this way, the first <div> element specifies the top position of the content of our element, the word "Home | Profile | Gallery" that is in boldface. The second <div> element should be just for the left position of our content. Therefore, the first <div> element controls the position of the second <div> element since we nested the second <div> element to the first <div> element. For me, the first <div> tag is the main <div> tag. If in case, you tried to indicate the left position to the first <div> element, when you resize he browser, there would be differences on the result.
Copy this simple codes and see for your self...
That's what I discovered!...
Thursday, October 23, 2008
Thursday, September 18, 2008
Ha! Ha! Semistral Break is on the way.....
At long last, sembreak is approaching my way, I can finally get rid of those loggerheads seasons that I have. Our finals exam will start in September 29 in Monday, there are many things that still needs consideration, a lot of things to study. I stopped continuing my web page since the finals is approaching, It is hard to continue it knowing that there are lots of things that needs preparation. But when finals is over I will continue it. I am now familiar with Macromedia being provided on our school IRS and I want to develop and re-create my web page using it. Even if there are lots of hard works as well as problems on my way right now I know that I can overcome them, I will definitely conquer this problems, he! he! Everything is great I am now satisfied with the resources about web page design and there are also this individuals that I can consult with, I considered them as my masters!
Monday, September 1, 2008
I like web page design!...
Wahaha! At long last! I discovered that subjects about web page design is the real thing I like most. Why? It's because I like designing and playing codes, even though they can give headaches on me, I still wanted to learn. I learned all of these on a hard way and treasured it since they are all results of my attentive and hardworking research, hehehehe.... Among programming languages I have studied such as C++, Visual Basic 6.0, Turbo Pascal and C to which I only learned basics, I can say that they are also interesting. But compared to HTML this programming languages are only second of my interest, HTML is also more like programming since we are also dealing with codes. I like programming a lot!.........
Thursday, August 28, 2008
Web host 110mb...
During last school year when I was second year college I am amazed by my friend about his homepage he created. After that, I was inspired to concentrate on studying wepage design while I am doing my usual work as a student, I gave time to study HTML and I printed several pages for a source of study. By the next month on that time, I think into making my own first web page... I browse the net and tried geocities and their facility. They provided me tools that I can use to create the design and layout of my page, I can say that they provide good features as a web host but I was not satisfied on what I got. I also tried freewebs, but the problem is I cannot create my own design since I was given a template. What I wanted is that I will be the one to create the layout and design of my page. Lastly, I tried 110mb, and whoa! I think it was the ideal web host to me. I then constructed and programmed my codes manually on the notepad and through the days that have passed by I have improved it. The url of my web page is http://www.nekworks.110mb.com.
Subscribe to:
Posts (Atom)