View Full Version : Using HTML
tradley
Dec-23-2008, 09:09 AM
Hi folks,
Just a quick question? When I click on the edit link in galleries to add text, adding text works fine. When I try to use HTML it does not work.
Any tips on how to customize these, will be appreciated.
Thanks,
Thomas
Allen
Dec-23-2008, 09:11 AM
Hi folks,
Just a quick question? When I click on the edit link in galleries to add text, adding text works fine. When I try to use HTML it does not work.
Any tips on how to customize these, will be appreciated.
Thanks,
Thomas
In the caption or gallery description? Sure you have it between html tags.
<html>
text and html
</html>
deborahj
Dec-29-2008, 11:50 PM
Hi,
I have created a HTML page in my site for giving customers ideas on displaying photos. The text formatting came up OK, but these photos don't display.
Anyone got any ideas? I designed the page in Dreamweaver and copy/pasted the code into the edit box of the gallery I set up to host this HTML page.
Thanks,
Deborah
denisegoldberg
Dec-30-2008, 05:02 AM
I have created a HTML page in my site for giving customers ideas on displaying photos. The text formatting came up OK, but these photos don't display.
Anyone got any ideas? I designed the page in Dreamweaver and copy/pasted the code into the edit box of the gallery I set up to host this HTML page.
Designing a page in a tool like Dreamweaver is not a good idea. Usually you end up with extra code that does not help and sometimes hinders the display within your galleries.
The only way that anyone will be able to offer you any help is if you post a link to your site and to the gallery in question.
I highly recommend that you add your URL to your signature here so it is always available to the helpers here. Click You! above and to the left, then Edit Signature.
--- Denise
deborahj
Dec-30-2008, 02:41 PM
Hi Denise,
Good point about the URL! - http://www.deborahjackson.smugmug.com/gallery/6930140_xwrGd
I'm afraid I'm not a designer or programmer at all, but did want a couple of HTML pages in the site, so I'm hoping I can find a way to make it work.
Any suggestions gratefully received..
Also, do you know how I can remove the quote 'This is a brand new gallery with no photos.' from the bottom of my HTML pages?
Thanks,
Deborah
Designing a page in a tool like Dreamweaver is not a good idea. Usually you end up with extra code that does not help and sometimes hinders the display within your galleries.
The only way that anyone will be able to offer you any help is if you post a link to your site and to the gallery in question.
I highly recommend that you add your URL to your signature here so it is always available to the helpers here. Click You! above and to the left, then Edit Signature.
--- Denise
deborahj
Dec-30-2008, 02:54 PM
Hi Denise,
I just had a look through your site and really enjoyed your blog - so beautiful for me to see all those pictures of snow at Christmas when it is so hot here where I live.
I noticed you have keywords set up on a HTML page and wondered how you made that happen?
On the tutorials I can only see how to do that on a home page.
Deborah
Designing a page in a tool like Dreamweaver is not a good idea. Usually you end up with extra code that does not help and sometimes hinders the display within your galleries.
The only way that anyone will be able to offer you any help is if you post a link to your site and to the gallery in question.
I highly recommend that you add your URL to your signature here so it is always available to the helpers here. Click You! above and to the left, then Edit Signature.
--- Denise
denisegoldberg
Dec-30-2008, 03:02 PM
Good point about the URL! - http://www.deborahjackson.smugmug.com/gallery/6930140_xwrGd
I'm afraid I'm not a designer or programmer at all, but did want a couple of HTML pages in the site, so I'm hoping I can find a way to make it work.
Any suggestions gratefully received..
Also, do you know how I can remove the quote 'This is a brand new gallery with no photos.' from the bottom of my HTML pages?
The CSS you need to remove the "this is a brand..." is in the answer to # 39 in the customization faq at http://www.smugmug.com/help/customize-faq (linked from the >>> CUSTOMIZATION: Start here <<< sticky at the head of this forum).
Next step.
You should remove all of the code that dreamweaver generated. Go back to your pure text. The code doesn't appear to be causing a problem, but it's unneeded overhead and it's doing nothing for you.
Take a look at the Kaleidoscope page on my site, at http://www.denisegoldberg.com/gallery/2659217. That's an html-only page wtih photos pulled from another location. There are no photos in the gallery. The photos are displayed with <img src statements pointing to galleries images on my smug site.
I did use an html table to position the photos on the page, but that really isn't necessary. If you'd like to go with something like that though, let me know and I will help get you started with the code.
In your case, it looks like your page is referencing photos on your computer. Those photos are not available to your smug site. You need to point to photos within smugmug.
There is a post in the thread that I posted about matching a blog to a smugmug site that explains how to show a photo in a blog. That is the same code that you would use to link to a photo in an html-only gallery. Here's a link to that post - http://www.dgrin.com/showpost.php?p=886014&postcount=2.
I highly recommend that you lock this gallery into a specific style so you can essentially control the width of the text and the look of the gallery. My Kaleidoscope gallery is locked into critique style, which gives a bit of space on either side of the text.
Allen has some tutorials on his demo site that are focused on creating html-only pages. He shows the look of the page along with the CSS that is needed. Take a look at this page for an example - http://allen-steve.smugmug.com/gallery/3819841. You can hover over HTML Tutors in the banner to go to other examples.
I don't know if I've given you too much information here or not enough. Why don't you read through this and let me know what you need help with.
I just had a look through your site and really enjoyed your blog - so beautiful for me to see all those pictures of snow at Christmas when it is so hot here where I live.
I noticed you have keywords set up on a HTML page and wondered how you made that happen?
On the tutorials I can only see how to do that on a home page.
Thanks - it's always fun for me to hear that people enjoy either my writing or my photos.
My keywords page? That actually comes for free, but I did specify the page width with some CSS.
Here's the URL for your keyword page -
http://www.deborahjackson.smugmug.com/keyword/. If you just want a keyword page, all you need to do is add that to your nav bar.
If you want a find page, that will take a little CSS. See richW's post in this thread - http://www.dgrin.com/showthread.php?t=70952&highlight=find.
--- Denise
deborahj
Dec-31-2008, 08:03 PM
Thanks - I missed that. I have inserted the code below into my CSS and substituted what I hoped was the gallery address for the XXX's, but it hasn't worked. Have I picked up the address in the wrong format? I tried a couple of ways.
Just about to work through your other suggestions.
Hey - Happy New Year!
Deborah
/* html only page for gallery 6966451_wReE8 */
.gallery_6966451_wReE8 .nophotos {
display: none;
}
.gallery_6966451_wReE8 .pageNav {
display: none;
}
The CSS you need to remove the "this is a brand..." is in the answer to # 39 in the customization faq at http://www.smugmug.com/help/customize-faq (linked from the >>> CUSTOMIZATION: Start here <<< sticky at the head of this forum).
Next step.
You should remove all of the code that dreamweaver generated. Go back to your pure text. The code doesn't appear to be causing a problem, but it's unneeded overhead and it's doing nothing for you.
Take a look at the Kaleidoscope page on my site, at http://www.denisegoldberg.com/gallery/2659217. That's an html-only page wtih photos pulled from another location. There are no photos in the gallery. The photos are displayed with <img src statements pointing to galleries images on my smug site.
I did use an html table to position the photos on the page, but that really isn't necessary. If you'd like to go with something like that though, let me know and I will help get you started with the code.
In your case, it looks like your page is referencing photos on your computer. Those photos are not available to your smug site. You need to point to photos within smugmug.
There is a post in the thread that I posted about matching a blog to a smugmug site that explains how to show a photo in a blog. That is the same code that you would use to link to a photo in an html-only gallery. Here's a link to that post - http://www.dgrin.com/showpost.php?p=886014&postcount=2.
I highly recommend that you lock this gallery into a specific style so you can essentially control the width of the text and the look of the gallery. My Kaleidoscope gallery is locked into critique style, which gives a bit of space on either side of the text.
Allen has some tutorials on his demo site that are focused on creating html-only pages. He shows the look of the page along with the CSS that is needed. Take a look at this page for an example - http://allen-steve.smugmug.com/gallery/3819841. You can hover over HTML Tutors in the banner to go to other examples.
I don't know if I've given you too much information here or not enough. Why don't you read through this and let me know what you need help with.
Thanks - it's always fun for me to hear that people enjoy either my writing or my photos.
My keywords page? That actually comes for free, but I did specify the page width with some CSS.
Here's the URL for your keyword page -
http://www.deborahjackson.smugmug.com/keyword/. If you just want a keyword page, all you need to do is add that to your nav bar.
If you want a find page, that will take a little CSS. See richW's post in this thread - http://www.dgrin.com/showthread.php?t=70952&highlight=find.
--- Denise
Allen
Dec-31-2008, 08:11 PM
Thanks - I missed that. I have inserted the code below into my CSS and substituted what I hoped was the gallery address for the XXX's, but it hasn't worked. Have I picked up the address in the wrong format? I tried a couple of ways.
Just about to work through your other suggestions.
Hey - Happy New Year!
Deborah
/* html only page for gallery 6966451_wReE8 */
.gallery_6966451_wReE8 .nophotos {
display: none;
}
.gallery_6966451_wReE8 .pageNav {
display: none;
}
Change the CSS to this, the key is not used in CSS.
/* html only page for gallery 6966451_wReE8 */
.gallery_6966451 .nophotos h3 {
display: none;
}
.gallery_6966451 .pageNav {
display: none;
}
deborahj
Dec-31-2008, 08:25 PM
Hi Allen,
I just copied and pasted your suggestion, but no change. Any more thoughts?
Thanks,
Deborah
Change the CSS to this, the key is not used in CSS.
/* html only page for gallery 6966451_wReE8 */
.gallery_6966451 .nophotos h3 {
display: none;
}
.gallery_6966451 .pageNav {
display: none;
}
deborahj
Dec-31-2008, 08:35 PM
Hi,
Thanks so much for all these thoughtful links and tips - I have read through, but would seriously appreciate some help in getting started with it.
I have now brought the photos I want to use on the page into a smugmug file.
I would like the page and photo positions to look much as they do on page below and yes, I like your suggestion to apply a style to set some page margins.
http://deborahjackson.smugmug.com/gallery/6930140_xwrGd
I have looked at the tutorial for album description, html text and photo below. It seems desgined to wrap text around a single photo. How can I manage the position of several photos?
http://allen-steve.smugmug.com/gallery/2320726
Thanks in advance for any help you are able to offer,
Deborah
The CSS you need to remove the "this is a brand..." is in the answer to # 39 in the customization faq at http://www.smugmug.com/help/customize-faq (linked from the >>> CUSTOMIZATION: Start here <<< sticky at the head of this forum).
Next step.
You should remove all of the code that dreamweaver generated. Go back to your pure text. The code doesn't appear to be causing a problem, but it's unneeded overhead and it's doing nothing for you.
Take a look at the Kaleidoscope page on my site, at http://www.denisegoldberg.com/gallery/2659217. That's an html-only page wtih photos pulled from another location. There are no photos in the gallery. The photos are displayed with <img src statements pointing to galleries images on my smug site.
I did use an html table to position the photos on the page, but that really isn't necessary. If you'd like to go with something like that though, let me know and I will help get you started with the code.
In your case, it looks like your page is referencing photos on your computer. Those photos are not available to your smug site. You need to point to photos within smugmug.
There is a post in the thread that I posted about matching a blog to a smugmug site that explains how to show a photo in a blog. That is the same code that you would use to link to a photo in an html-only gallery. Here's a link to that post - http://www.dgrin.com/showpost.php?p=886014&postcount=2.
I highly recommend that you lock this gallery into a specific style so you can essentially control the width of the text and the look of the gallery. My Kaleidoscope gallery is locked into critique style, which gives a bit of space on either side of the text.
Allen has some tutorials on his demo site that are focused on creating html-only pages. He shows the look of the page along with the CSS that is needed. Take a look at this page for an example - http://allen-steve.smugmug.com/gallery/3819841. You can hover over HTML Tutors in the banner to go to other examples.
I don't know if I've given you too much information here or not enough. Why don't you read through this and let me know what you need help with.
Thanks - it's always fun for me to hear that people enjoy either my writing or my photos.
My keywords page? That actually comes for free, but I did specify the page width with some CSS.
Here's the URL for your keyword page -
http://www.deborahjackson.smugmug.com/keyword/. If you just want a keyword page, all you need to do is add that to your nav bar.
If you want a find page, that will take a little CSS. See richW's post in this thread - http://www.dgrin.com/showthread.php?t=70952&highlight=find.
--- Denise
denisegoldberg
Jan-01-2009, 05:49 AM
Thanks so much for all these thoughtful links and tips - I have read through, but would seriously appreciate some help in getting started with it.
I have now brought the photos I want to use on the page into a smugmug file.
I would like the page and photo positions to look much as they do on page below and yes, I like your suggestion to apply a style to set some page margins.
http://deborahjackson.smugmug.com/gallery/6930140_xwrGd
I have looked at the tutorial for album description, html text and photo below. It seems desgined to wrap text around a single photo. How can I manage the position of several photos?
First, go into the customization screen for that gallery. Set the gallery style to Critique. That will remove the choice of styles (by the viewer) and will lock the gallery into Critique style. The reason I suggest Critique is that it isn't too constrained from a width standpoint, but it does leave some blank space along the sides.
Next, you'll need to pull the links for those photos. For each photo you want to show, go into the gallery where the photo lives, click Share, then Get a Link. Copy one of the links for the photo. The links on that page are for the standard photo sizes. I usually change those to use custom sizes - http://www.smugmug.com/help/custom-photo-sizes.
Once you have the links, you will be able to construct the <img src statements that you need.
For example, here's the code I pulled from the share page:http://denise.smugmug.com/photos/444483236_rFq6f-M.jpg
When I use that, I remove the beginning piece of the url. It's not needed if the photo is in your smugmug gallery, and if you remove it the url that the viewer used to enter your site will be used, either your user.smugmug.com name, or your custom domain. So with the change, the entry I use for the img src statements (examples below) look like this:/photos/444483236_rFq6f-M.jpg (http://photos/444483236_rFq6f-M.jpg)
If you'd like the group of photos centered on a "line", I'd suggest using an HTML table. Here's an example of a table with three images on one line. Keep in mind that you'll want to select sizes that work for your page (as opposed to the 300x300 that works for me...).
your text.... words, words, words
more words
<center>
<table cellspacing=20>
<tr>
<td>
<center>
<img src="/photos/444498849_kGUg3-300x300.jpg">
</center>
</td>
<td>
<center>
<img src="/photos/444483236_rFq6f-300x300.jpg">
</center>
</td>
<td>
<center>
<img src="/photos/444498849_kGUg3-300x300.jpg">
</center>
</td>
</tr>
</table>
</center>
...more text...
Hopefully this will give you a reasonable starting point.
Let me know if you have more questions.
--- Denise
deborahj
Jan-02-2009, 05:07 PM
He-e-elp!
I set the gallery style to Critique and brought the photos in OK. Then it all went foul. I tried a blend of the code in one of Allen's tutorials with your suggestion for presenting a series of photos. The photo code went OK I think, but the page is a mess.
http://deborahjackson.smugmug.com/gallery/6930140_xwrGd
Basically, I want a series of paragraphs with a heading and type underneath.
After the paragraph called 'texture' ending with '...abstract, clean and contemporary' I want the first series of three photos, the textural shots of water and withered wood.
After the paragraph called 'stories' ending with '... and continue the story' I want the second series of four photographs showing a story around a beach scene.
I would like to be able to bold and change the colour of the headings and for the text to be presented in paragraphs, with appropriate margins.
Here is the gallery description I have entered:
<html>
<div id="galDescText">
<p>
Have you ever fallen in love with an image, an artwork, a sculpture and just known you had to bring it home to your place? I have. Such a spontaneous and joyful thing, as though the piece awakens, speaks to or fulfills a part of you.
The other way to buy art for your home or workspace is a little more considered. I'd like to share a few ideas. There are so many ways to select and display photographic art images that it's possible to create a very unique expression in your home or workspace.
Your space.
First up, what are you seeking to achieve with your space? How do you want people to feel as they enter the room, relax onto your sofa or take a seat at your table - peaceful, nourished, vital, creative? What do you like about the space currently? What's not working? What would you like to change or enhance? What does the space need?
Dark and heavy space - consider something clean and light to lift the mood or alternatively, go for a dramatic effect with strong colour. Very ordered space - bring in an element of humour or surprise. A little too perfect - try something random or quirky. Is it a space for peace and tranquility - bring in something that will harmonise and connect the other elements in the room. Too much clutter - use scale and simplicity to give the eye a restful place to land.
Colour.
Is there a defined colour pallete in the room that you would like to work with? Alternatively, you may have a space that is monochrome, based around shades and textures from the same base tone. You could continue this theme or choose to add some drama with a hero colour. Maybe you need the colour of the artwork to tie together existing pieces in a room.
There is a lot written about how colour affects mood - blue is thought to be calming and expansive, green refreshing, the right shade of yellow can invoke sunshine, red can awaken physical passion and energy, earthy colours can be grounding. The actual shade of colour and the interplay of different colours all combine to create the effect you're seeking.
Texture.
Balance contemporary surfaces and materials with textures from nature - rough, flowing, light-filled, aged. Similarly, rooms with antique or rustic furniture can be connected into the modern world with imagery that is abstract, clean and contemporary.
</p>
</div>
<div id="galDescImg">
<center>
<table cellspacing=20>
<tr>
<td>
<center>
<img src="/photos/446239631_vsu6a-Th.jpg ">
</center>
</td>
<td>
<center>
<img src="/photos/446239389_aqbAb-Th.jpg ">
</center>
</td>
<td>
<center>
<img src="/photos/446239585_nWFqA-Th.jpg ">
</center>
</td>
</tr>
</table>
</center>
</div>
<div id="galDescText">
<p>
Cropping.
The square crop is popular right now, bringing a fresh look to wall art. When you find an image you like, you may want to experiment with the cropping tool in the shopping cart to capture the proportions that most appeal to you.
Alternatively, a simple image can work well split into three verticals and hung with a small separation between each piece.
Stories.
Some images work really well when displayed as a series and may even tell a story - about cycles of life or parts of a whole. Seeing one object in relation to another can bring out its natural beauty. Alternatively, you may want to pick up on a theme already in your room - a colour, a sea shell, a texture - and continue the story.
</p>
</div>
<div id="galDescImg">
<center>
<table cellspacing=20>
<tr>
<td>
<center>
<img src="/photos/446239777_aPxiR-Th.jpg ">
</center>
</td>
<td>
<center>
<img src="/photos/446239950_h28wN-Th.jpg ">
</center>
</td>
<td>
<center>
<img src="/photos/446239902_wYGbW-Th.jpg ">
</center>
</td>
<td>
<center>
<img src="/photos/446239805_7hUFz-Th.jpg ">
</center>
</td>
</tr>
</table>
</center>
</div>
<div id="galDescText">
<p>
The finish.
SmugMug, the organisation that will print and deliver your order on my behalf, offer a range of interesting photo finishes - lustre, gloss, matt, metallic, rolled or mounted canvas.
Of course, matting and framing is an important final step in displaying your photographic art to best advantage. You may also like to consider a new technique like that used by Fotoflot where the photographic print is fused with acrylic - the image and display become one.
Enjoy the exploration. If you'd like help brainstorming a solution, send me an email with a photograph of the space you are working with and a few notes about what you are seeking to achieve. I'd love to share a few ideas and help create a space where you and your people feel just great.
</p>
</div>
<p>
Contact me here <a href=mailto:name@domain.net>
<span class=”myEmail”>Email</span></a>
</p>
</div>
</html>
Here is the CSS code I have entered:
.gallery_6930140 #galDescImg {
position: relative;
height: 300px;
width: 195px;
margin-top: 20px;
margin-left: 60px;
}
.gallery_6930140 #galDescText {
position: relative;
font-size: 1em;
font-weight: bold;
color: #ccc;
text-align: justify;
width: 750px;
margin-top: -350px;
margin-left: 350px;
}
.myEmail {color: #fff;}
.myEmail :hover {color: red;}
/* set the height to push the footer down */
.gallery_6930140 #albumDescription {
background: #444;
height: 350px;
}
/* remove stuff for clean page look */
/* some of these may not be needed */
.gallery_6930140 .nophotos h3 {display: none;}
.gallery_6930140 #searchBox {display:none;}
.gallery_6930140 #breadcrumb {display: none;}
.gallery_6930140 .journal_entry {display:none;}
.loggedIn .gallery_6930140 .journal_entry {display:block;}
.gallery_6930140 .pageNav {display: none;}
.gallery_6930140 #albumNav_top {display: none;}
.gallery_6930140 #albumNav_bottom {display: none;}
.gallery_6930140 .play_slideshow {display: none;}
Can you suggest what I need to change to get some formatting happening? I tried a few things myself, with disasterous consequences.
Thanks,
Deborah
First, go into the customization screen for that gallery. Set the gallery style to Critique. That will remove the choice of styles (by the viewer) and will lock the gallery into Critique style. The reason I suggest Critique is that it isn't too constrained from a width standpoint, but it does leave some blank space along the sides.
Next, you'll need to pull the links for those photos. For each photo you want to show, go into the gallery where the photo lives, click Share, then Get a Link. Copy one of the links for the photo. The links on that page are for the standard photo sizes. I usually change those to use custom sizes - http://www.smugmug.com/help/custom-photo-sizes.
Once you have the links, you will be able to construct the <img src statements that you need.
For example, here's the code I pulled from the share page:http://denise.smugmug.com/photos/444483236_rFq6f-M.jpg
When I use that, I remove the beginning piece of the url. It's not needed if the photo is in your smugmug gallery, and if you remove it the url that the viewer used to enter your site will be used, either your user.smugmug.com name, or your custom domain. So with the change, the entry I use for the img src statements (examples below) look like this:/photos/444483236_rFq6f-M.jpg (http://photos/444483236_rFq6f-M.jpg)
If you'd like the group of photos centered on a "line", I'd suggest using an HTML table. Here's an example of a table with three images on one line. Keep in mind that you'll want to select sizes that work for your page (as opposed to the 300x300 that works for me...).
your text.... words, words, words
more words
<center>
<table cellspacing=20>
<tr>
<td>
<center>
<img src="/photos/444498849_kGUg3-300x300.jpg">
</center>
</td>
<td>
<center>
<img src="/photos/444483236_rFq6f-300x300.jpg">
</center>
</td>
<td>
<center>
<img src="/photos/444498849_kGUg3-300x300.jpg">
</center>
</td>
</tr>
</table>
</center>
...more text...
Hopefully this will give you a reasonable starting point.
Let me know if you have more questions.
--- Denise
denisegoldberg
Jan-02-2009, 07:47 PM
Start by removing the divs from your gallery. You have positioned the text at the top of the browser window with your margin specifications.
margin-top: -350px;
Says to start the text 350 pixels above the start of the gallery. Why would you want to do that?
On top of that, you have two sections of text with the same div id, positioned on top of one another.
Just put in plain text and the table with the <img src statements. Start the gallery description with <html>, and end it with </html>. Between those two tags, add your text and the <img src statements (in the table, if that's the look you are after.
<br /> will give you a line break.
Don't use the divs for formatting at all to start with. Just get the text and photos placed.
Once you have a gallery that is readable and shows the photos you want, then we can talk about how you want to format the text. You may not need to do anything; look at the Kaleidoscope page on my site - http://www.denisegoldberg.com/gallery/2659217. That page doesn't reference any divs at all. It is text with a table containing 3 cells, each cell containing a photo.
--- Denise
deborahj
Jan-03-2009, 12:51 AM
Thanks Allen,
Was clearly having a vacant moment and didn't think to substitute your gallery ID for mine. Sorted now.
Deborah
Change the CSS to this, the key is not used in CSS.
/* html only page for gallery 6966451_wReE8 */
.gallery_6966451 .nophotos h3 {
display: none;
}
.gallery_6966451 .pageNav {
display: none;
}
deborahj
Jan-03-2009, 01:00 AM
Hi Denise,
Thanks for your patience with me .. I have a basic page up and running now - thanks to your careful tutoring!
http://deborahjackson.smugmug.com/gallery/6930140_xwrGd
I guess the most important things now I'd like to do are:
1. Line the text margins up to correspond with the banner width.
2. Bold the headings and make them a colour.
Also, if I wanted the photos to appear left justified, rather than centred, is that tricky?
I'm finally starting to see that I'll be able to get a basic site going. Much appreciated.
Oh - I found a helpful beginners HTML learning page:
http://www.athelstane.co.uk/html.htm
Deborah
Start by removing the divs from your gallery. You have positioned the text at the top of the browser window with your margin specifications. margin-top: -350px;Says to start the text 350 pixels above the start of the gallery. Why would you want to do that?
On top of that, you have two sections of text with the same div id, positioned on top of one another.
Just put in plain text and the table with the <img src statements. Start the gallery description with <html>, and end it with </html>. Between those two tags, add your text and the <img src statements (in the table, if that's the look you are after.
<br /> will give you a line break.
Don't use the divs for formatting at all to start with. Just get the text and photos placed.
Once you have a gallery that is readable and shows the photos you want, then we can talk about how you want to format the text. You may not need to do anything; look at the Kaleidoscope page on my site - http://www.denisegoldberg.com/gallery/2659217. That page doesn't reference any divs at all. It is text with a table containing 3 cells, each cell containing a photo.
--- Denise
denisegoldberg
Jan-03-2009, 05:09 AM
Thanks for your patience with me .. I have a basic page up and running now - thanks to your careful tutoring!
...I guess the most important things now I'd like to do are:
1. Line the text margins up to correspond with the banner width.
2. Bold the headings and make them a colour.
Also, if I wanted the photos to appear left justified, rather than centred, is that tricky?
To change the margin to correspond to the width of your banner, add this to your CSS:
.critique .gallery_6930140 {
width: 750px !important;
margin: 0 auto;
}
To change the color and bold your headings, add this to your CSS:
#myHeadings {
font-weight: bold;
font-size: 120%;
color: #3CB371;
}Obviously, change the size and color as desired. Then, surround your heading words with <div id="myHeadings"> and </div>. For example:
<div id="myHeadings">
Colours
</div>
If you want the photos to be shown to the left, remove the <center> and </center> surrounding the table. And you really don't need the <center> and </center within each table entry. I put them there thinking that you might be using non-square photos, but you're not... Even removing the <center> won't line the photos up against the left margin because there is a cellpadding entry on the table. You can remove that, but then the photos will be right next to each other with a very tiny space between them. If that's what you want, remove the table entirely (I only included it to provide some control over spacing between the photos) and just use the <img src statements):
<img src="/photos/446239631_vsu6a-Th.jpg">
<img src="/photos/446239389_aqbAb-Th.jpg">
<img src="/photos/446239585_nWFqA-Th.jpg">
I prefer the look of the photos centered, but that's your call to make, not mine.
--- Denise
deborahj
Jan-04-2009, 06:00 PM
Thanks Denise - looking much better now. I really appreciate the time and care you've put into helping me - very kind of you.
And yes, I've gone with the centred option for the photos - it does work well on that page.
Deborah
To change the margin to correspond to the width of your banner, add this to your CSS:
.critique .gallery_6930140 {
width: 750px !important;
margin: 0 auto;
}
To change the color and bold your headings, add this to your CSS:
#myHeadings {
font-weight: bold;
font-size: 120%;
color: #3CB371;
}Obviously, change the size and color as desired. Then, surround your heading words with <div id="myHeadings"> and </div>. For example:
<div id="myHeadings">
Colours
</div>
If you want the photos to be shown to the left, remove the <center> and </center> surrounding the table. And you really don't need the <center> and </center within each table entry. I put them there thinking that you might be using non-square photos, but you're not... Even removing the <center> won't line the photos up against the left margin because there is a cellpadding entry on the table. You can remove that, but then the photos will be right next to each other with a very tiny space between them. If that's what you want, remove the table entirely (I only included it to provide some control over spacing between the photos) and just use the <img src statements):
<img src="/photos/446239631_vsu6a-Th.jpg">
<img src="/photos/446239389_aqbAb-Th.jpg">
<img src="/photos/446239585_nWFqA-Th.jpg">
I prefer the look of the photos centered, but that's your call to make, not mine.
--- Denise
denisegoldberg
Jan-04-2009, 06:21 PM
Thanks Denise - looking much better now. I really appreciate the time and care you've put into helping me - very kind of you.
And yes, I've gone with the centred option for the photos - it does work well on that page.
Deborah
I'm glad I could help.
I just took a look at your site, and the one thing that jumped out at me was the color of the breadcrumb (lowest level), along with the page numbers in your galleries, and the category title. It is the default green color. It seems (to me) that it might look better if you used either the green from your logo or the green from your navbar background. Here's the CSS you would need to change the colors of those items to match your nav background:
.title,
.pageNav,
#albumNav_top a {
color: #3CB371;
}
Or change the color to #009900 to match your banner. Or to any other color you prefer...
Feel free to ignore this if you prefer the color currenly in use!
--- Denise
deborahj
Jan-04-2009, 10:13 PM
OK, now I know you're psychic! That was one of my next questions. I'm still toying with banner design and was going to wait until I had the colour there sorted to standardise across the site.
Out of interest, do you think the shade of green I have in my banner is too strong a colour to use - ie. do you think it detracts from the viewing of the colours in the photos? Or do viewers just accept that it is commercial space and 'tune it out'.
Also, I changed my navbar background to black (I was have too many problems getting it to line up straight in IE, but quite like it how it is now anyway). I wanted to change the rollover type colour and have specified this in my CSS, but it doesn't change colour when you roll over it.
What have I missed?
Thanks,
Deborah
#navcontainer ul li a:hover {
color: 009900;
background-color: #000000;
}
I'm glad I could help.
I just took a look at your site, and the one thing that jumped out at me was the color of the breadcrumb (lowest level), along with the page numbers in your galleries, and the category title. It is the default green color. It seems (to me) that it might look better if you used either the green from your logo or the green from your navbar background. Here's the CSS you would need to change the colors of those items to match your nav background:
.title,
.pageNav,
#albumNav_top a {
color: #3CB371;
}
Or change the color to #009900 to match your banner. Or to any other color you prefer...
Feel free to ignore this if you prefer the color currenly in use!
--- Denise
deborahj
Jan-05-2009, 11:14 PM
Sorted now - was missing a '#'. Have also standardised the green colour - much cleaner, thanks for the code.
OK, now I know you're psychic! That was one of my next questions. I'm still toying with banner design and was going to wait until I had the colour there sorted to standardise across the site.
Out of interest, do you think the shade of green I have in my banner is too strong a colour to use - ie. do you think it detracts from the viewing of the colours in the photos? Or do viewers just accept that it is commercial space and 'tune it out'.
Also, I changed my navbar background to black (I was have too many problems getting it to line up straight in IE, but quite like it how it is now anyway). I wanted to change the rollover type colour and have specified this in my CSS, but it doesn't change colour when you roll over it.
What have I missed?
Thanks,
Deborah
#navcontainer ul li a:hover {
color: 009900;
background-color: #000000;
}
deborahj
Jan-08-2009, 10:27 PM
Hi,
Is there any way to delete the navigation text on the top left side of the HTML pages, without losing my customisation?
http://www.deborahjackson.smugmug.com/gallery/6930299_5iKNP
Thanks,
Deborah
jfriend
Jan-08-2009, 11:49 PM
Hi,
Is there any way to delete the navigation text on the top left side of the HTML pages, without losing my customisation?
http://www.deborahjackson.smugmug.com/gallery/6930299_5iKNP
Thanks,
Deborah
Use this CSS for the page link you included to hide the breadcrumb navigation for a specific gallery page. You can repeat this for other galleries by using their gallery number.
.gallery_6930299 #breadCrumbTrail {display:none;}
deborahj
Jan-10-2009, 05:47 PM
Thanks heaps, that worked well for my HTML pages.
It didn't work for my keywords page, though. This is its link. I substituted 'keyword' for the gallery number in the code below.
http://deborahjackson.smugmug.com/keyword/
Is there another way to approach this page? It doesn't seem to be in any of my galleries.
Deborah
Use this CSS for the page link you included to hide the breadcrumb navigation for a specific gallery page. You can repeat this for other galleries by using their gallery number.
.gallery_6930299 #breadCrumbTrail {display:none;}
jfriend
Jan-10-2009, 05:56 PM
Thanks heaps, that worked well for my HTML pages.
It didn't work for my keywords page, though. This is its link. I substituted 'keyword' for the gallery number in the code below.
http://deborahjackson.smugmug.com/keyword/
Is there another way to approach this page? It doesn't seem to be in any of my galleries.
Deborah
On your keywords page, it would be this:
.userKeywords #breadcrumb {display:none;}
deborahj
Jan-10-2009, 10:17 PM
Beautiful - thank-you!
Any idea how I can access my keywords page to edit it - it doesn't show up on my galleries page.
http://deborahjackson.smugmug.com/keyword/
Cheers,
Deborah
On your keywords page, it would be this:
.userKeywords #breadcrumb {display:none;}
Allen
Jan-11-2009, 07:03 AM
Beautiful - thank-you!
Any idea how I can access my keywords page to edit it - it doesn't show up on my galleries page.
http://deborahjackson.smugmug.com/keyword/
Cheers,
Deborah
Use the specific id of keywordPage to edit the page.
.keywordPage #bread.... {...}
jfriend
Jan-11-2009, 08:54 AM
Beautiful - thank-you!
Any idea how I can access my keywords page to edit it - it doesn't show up on my galleries page.
http://deborahjackson.smugmug.com/keyword/
Cheers,
Deborah
If you mean edit as in change the keywords that show there, you can't. That's an accumulation of the keywords that are in your images.
deborahj
Jan-12-2009, 12:56 AM
Just wanted to insert a couple of lines of spacing in between navbar and keywords table..
If you mean edit as in change the keywords that show there, you can't. That's an accumulation of the keywords that are in your images.
jfriend
Jan-12-2009, 01:56 AM
Just wanted to insert a couple of lines of spacing in between navbar and keywords table..
You can use this CSS:
#content.userKeywords .boxBottom {margin-top:50px;}
Pick whatever number you want instead of the "50".
deborahj
Jan-15-2009, 03:09 AM
Hi - thank-you, tried that. It created more space, but as grey table space, not as black background space, as I was hoping.
Any refinement I could try?
Thanks,
Deborah
You can use this CSS:
#content.userKeywords .boxBottom {margin-top:50px;}
Pick whatever number you want instead of the "50".
jfriend
Jan-15-2009, 12:59 PM
Hi - thank-you, tried that. It created more space, but as grey table space, not as black background space, as I was hoping.
Any refinement I could try?
Thanks,
Deborah
Odd, it adds gray space in IE7, it adds black space in Firefox 3. Oh well. Try this instead:
#content.userKeywords {margin-top:50px;}
deborahj
Jan-16-2009, 06:29 PM
Thanks, worked a treat in both IE6 and Firerfox 5.
Odd, it adds gray space in IE7, it adds black space in Firefox 3. Oh well. Try this instead:
#content.userKeywords {margin-top:50px;}
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.