Hi all,
I'm a very basic user of Dreamweaver. I use the WYSIWYG side of things, with the occasional amendment to the code. I just create one page websites.
This level of understanding is fine for what I need, but I occasionally need to do something a little more complex and at the moment I need to anchor two images to the side/bottom of the webpage.
Here's the site, its just one page www.fromapollototomzarek.com
If anyone can advise how to do this in the WYSIWYG parts of Dreamweaver that would be great. I'm hoping to avoid the complexities of CSS stylesheets, PHP or in-depth code etc as they are beyond my understanding.
Can one half face be anchored to both the left and bottom? Then the other to the right and bottom?
Thanks,
Daniel
You can do more or less the same thing with CSS background-size:cover property and one large bg image. See demo below for details:
http://alt-web.com/TEST/Resizable-BG.shtml
Nancy O.
Hi Nancy,
Thanks for your kind advice...
The problem is I don't know where to put this code ? The site is purely HTML created by the WSYIWYG aspects of Dreamweaver. I don't have any CSS Stylesheets.
I'd also like to be able to force various AP Div boxes that I've drawn to be centralised.
Basically, I'd like to ensure the website appears on everyone's screen in the way it appears on mine !
Thanks so much so far !
Working in Design View alone is like trying to paint a picture with both hands tied behind your back and a wet paint brush clenched between your teeth. Possible? Yes. Great results? No.
To get the most out of DW, you must be able to look at code (Split View) and understand what you're seeing. You actually have quite a bit of CSS in your page. It's near the top between the <style> and </style> tags.
Unfortunately, your liberal use of apDivs is making a mess of your layout. CSS positioning isn't helping you & it's not required for any of this. In fact, you'll get much better cross browser results if you don't use apDivs as a primary layout method. Here's why:
http://apptools.com/examples/pagelayout101.php
Start here:
HTML & CSS Tutorials - http://w3schools.com/
From Design to CSS Layout:
Part 1 - Initial Design
http://www.adobe.com/devnet/dreamweaver/articles/dw_fw_css_pt1.html
Part 2 - Markup preparation
http://www.adobe.com/devnet/dreamweaver/articles/dw_fw_css_pt2.html
Part 3 - Layout and CSS
http://www.adobe.com/devnet/dreamweaver/articles/dw_fw_css_pt3.html
Centering Pages, Images and other elements with CSS
http://cookbooks.adobe.com/post_Centering_web_pages_and_other_elements _with_CSS-16640.html
Good luck with your project,
Nancy O
I think I've got a fair way forward using these guides...how's it looking now ?
http://www.fromapollototomzarek.com/
The content *seems* to be appearing in the middle and the two faces are anchored to the side of the browsers. Unfortunately, I don't seem to be able to anchor them to the bottom of the browser, despite many attempts.
But I'm making steps forward....
I wonder why they won't anchor to the bottom of the browser window ?
I would do it like this (view source to see the code)
http://alt-web.com/TEST/Hatch/
Background Image:
http://alt-web.com/TEST/Hatch/HatchBackground.jpg
CD Image:
http://alt-web.com/TEST/Hatch/HatchCD.png
This is not rocket science but you must be able to work with code.
Nancy O.
Hi Nancy,
Thank you so much for looking into this....
I was interested to see this, but have always been a fan of a single page - no scrolling or links. A one page 'there it is'.
When you see my page does the 'content' display in the middle ?
If so, and the two faces are at the edge of the browser (margin at 0), then that only leaves getting the two faces to anchor to the bottom of the page - I think !
I have learned a bit more about code through this, so thank you, I'll continue reading. I'm nearly on deadline and sooo...nearly there !
Thank you so much for looking into this....
No problem.
... have always been a fan of a single page - no scrolling or links.
Fine. But if your page can't be viewed comfortably in all devices, what's the point?
When you see my page does the 'content' display in the middle ?
I'll let my browser screenshots answer this question.
Your layout in a desktop (1280px width) browser with increased text size. Not pretty.
Your layout in a smaller viewport (iPhone width).
Notice how your left & right images stack on top of each other? Content is way off to the right which requires potential customers to use both horizontal & vertical scrolling to find your "message."
In contrast to your layout, mine resizes to fit viewport width. People can see the "message" without having to scroll horizontally. On the web, vertical scrolling is expected. Horizontal scrolling is annoying.
I'll let you decide which approach is more web friendly.
Best of luck on your project!
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
North America
Europe, Middle East and Africa
Asia Pacific