-
Content layout options
Try this variation of the code above: http://jsfiddle.net/Apokalupsis/PRwhk/ (I left "div {border: 1px solid black;};" in the css just so you could see how the divs/boxes are being positioned. Obviously, remove that top line of code to get rid of the div borders.
-
-
layout of a header
Man, I always forget to do that. I really need to brush up on floats. Anyway, I also forgot to include the jsfiddle link (and I can no longer edit my first post). Here it is for convenience: http://jsfiddle.net/Apokalupsis/YJURX/5/ As to thw "wrapper issue".... 1) I think it's fine to use the html5 elements as long as it is understood that not all browsers still support it. So you have to ask who will be using this site? And when you do use html5 elements that are not widely supported cross-browser, then using the -moz- or -webkit- prefix where applicable is important IMO. That, or maybe using something like modernize. 2) I don't use the "body" tag as a wrapper, I like to keep it separate from containers or wrappers, using naming it something more applicable. I suppose this is an issue of preference (as well as habit maybe?)...but I'm just more comfortable that way, allows for a bit more freedom perhaps.
-
layout of a header
I tried you way there 4li4s...but for some reason it didn't work. I only tried it in jsfiddle so maybe there was an issue w/ that site and the code...don't know. Anyway, here's what I worked out in jsfiddle...seems to work: <div id="header"> <div class="left"> <a href="#"><img src="http://webitect.net/wp-content/uploads/2010/08/breathtaking_graphic_design_examples.jpg"></a> </div> <div class="right"> <ul> <li><a href="#">Home</a> </li> <li><a href="#">Blog</a> </li> <li><a href="#">Articles</a> </li> </ul> </div> </div> </div>and:#header { height: 200px; width: 600px; border: 2px solid #40312E; } .left { height: 200px; width: 200px; float: left; } .right { height: 200px; width: 395px; /* change to 450px when remove borders */ float: right; } .right ul { float: right; padding: 65px 30px; } .right li { display: inline; list-style-type: none; margin-top: 0; } .right a { display: inline; text-decoration: none; margin-right: 25px; color: #F2F2F2; background-color: #61788C; padding: 5px 10px 5px 10px; border:1px solid; border-radius:25px; font-size: 1.5em; } .right a:hover { display: inline; text-decoration: none; margin-right: 25px; color: #D9B29C; background-color: #40312E; padding: 5px 10px 5px 10px; border:1px solid; border-radius:25px; } Obviously, you don't need all that extra styling, I was just doing a little experimenting. But the positioning should work. At least, it works in Chrome (didn't test in all browsers admittedly).
-
-
Help creating a in-page pop out window.
@Robert, Well, I wish I could take all the credit, but I can't. I found a lot of graphics either in public domain (or stock) and just edited it to suit my needs. Why reinvent the wheel? Many of the graphics in the gallery are pieced together using a more generic logo creator app, others were created in PS (the banner for DoubleTree Hotels and a project I did for a university PS course - the Earth Day image, which was done following a tutorial from nut-plus irc, and other junk not posted on the site yet). I am by no means an expert. I still consider myself a nub, and have much to learn. I just find ways of getting things done and piecing them together when need be.
-
- Help creating a in-page pop out window.
-
-
Help creating a in-page pop out window.
WEB design? On and off for a few years. I've been doing graphic design for longer. I'm tired of it though and so I wanted to make the change to web design. I'm still learning. I consider myself beginner-intermediate, but that is largely subjective as I compare myself to most of the blogs/sites I read. I don't know much JQuery or JS actually, I'm currently taking a couple courses on them. I try to be like a sponge, just absorbing everything I can. =) My site is: www.harmonywebworks.com (it is still a work in progress). You?
- Help creating a in-page pop out window.
-
-
DIV Question
The problem isn't in the index.html file, it is in the style.css file. http://www.englishclick.net/style.css Then "find" (ctrl-F on windows) ".art-article th, .art-article td" You need to remove that "border" attribute that is defined in that class.
-
DIV Question
This code.... .art-article th, .art-article td {padding: 2px;border: solid 1px #787878;vertical-align: top;text-align: left;} should be: .art-article th, .art-article td {padding: 2px;vertical-align: top;text-align: left;}
- Help creating a in-page pop out window.
-
-
Help creating a in-page pop out window.
I'm not a Jquery expert...but I would imagine that is what you are looking for. Check this Top 10 list out: http://jquerybyexample.blogspot.com/2013/01/jquery-popup-window-tutorial-plugins.html Particularly #6....I think that may be closest to what you are describing...but there are some great options and customization abilities in all of them.
-
Website not displaying certain pages correctly on iPad
I think it's a Safari issue. I tested it out in Spoon (www.spoon.net)...seemed to work fine in other browsers...but for some reason, Safari didn't like your navigation. I'm not a Safari person, and looking at the source page...I couldn't easily identify the problem.
-
Apokalupsis reacted to a post in a topic:
How do I get this text to align to the bottom of my div tag?
-
Apokalupsis reacted to a post in a topic:
How do I get this text to align to the bottom of my div tag?
- Height - 100%
- CSS: element positioning quandary
-
-
Easy Issue (css)
You should learn a little about using "divs" IMO. They are going to allow you to style and format your page the way you want. Trying to do everything in the "body" isn't going to work out well. There's plenty of info on using divs and all their attributes on the net. An obvious source would be: http://www.w3schools.com/tags/tag_div.asp Also look up "class" and "id". Lastly, if you are going to use 1 page and have your style be in your html page, then it should be in your header, not body. You can also link your .css in your html. This is stuff you'd find on the w3schools site. As far as adding "funky" text, the text needs to be "web safe." http://www.w3schools.com/cssref/css_websafe_fonts.asp. You can of course, use a custom font (@font-face) and host it on your server so that others will see it, or use Google fonts, but that's another issue IMO). There's a lot covered in this thread already. Take a look at this as a quick example: http://jsfiddle.net/Apokalupsis/LejnB/ (includes code + what it looks like in browser). Another good source for this type of stuff is www.udemy.com (my go to place for "how to's"). There are some freebies, but a lot are university level course type classes offered by actual trainers and professors. I'm sure you can find the same stuff online for free, but I prefer having it all in one place, plus I know several of the instructors, so I'm a little biased. =P