![]() |
VBA Help
1 Attachment(s)
Can someone help me code this, im trying to create new locations for my VBA homepage but im not getting any support over there and as much as i search i keep coming to the same answer " Its easy to do if you know basic html" but i dont know html.
Im trying to accomplish the block positions like the image i attached. Here is my basic code. Any help would be greatly appreciated. |
You can't put if conditions around whole columns. Looking at your image, you NEED to account for four columns per row. Some will have colspans and some will have rowspans. Here is your basic structure (I think... I through this together kinda quick):
HTML Code:
<table> |
Its a little off it has all this extra spacing every were.
www.localcobalt.net Select Dev2 Style to see |
I would ask over at vbadvanced ;)
|
I have no idea what I am supposed to be looking at in dev2. It's just a basic page with a column on the left.
I know nothing really of vba. So I have no idea to take that table and make it into a page using the vba template system. |
Sorry Lynn,
I had to put all the blocks back to normal so my site looked like it was suppose to but here is a screen of what the code you gave me did. https://vborg.vbsupport.ru/ http://www.localcobalt.net/forum/mem...tom-layout.jpg Quote:
|
Everything is easily possible except the center one that has a right and left side. If you just use one and put what you want to put in there side by side it would be alot easier.
|
Quote:
Did you put some text into the table I posted? And did you put it all in it's own div or table or something? Did you validate the page to make sure your html was correct (that you didn't just put the code smack in the middle of an area you should not have)? |
1 Attachment(s)
Does this link work?
http://www.localcobalt.net/forum/mem...tom-layout.jpg Im having issues with other people following links to my site i dont know why. Ok i got a smaller version of it up loaded to show you what its doing. |
Quote:
http://www.vbadvanced.com/forum/showthread.php?t=31231 Lynne's answer above gave you the basic layout you need, the next step would be adding the needed block name variables & conditionals (don't even really need the conditionals as much as the block names that match the names you entered into your ACP). |
Yes i have searched for other threads and none of them are easy nore anwered veery well and usually end in " Thats easy to do if you know html".
Thats why im here asking for help because i cant get any support over there. I have entered the variable and thats what it looks like in the picture in my previous post. Here is the code: Code:
<table> |
No, that link still doesn't work. I get a blank page.
If you look at the image you posted, you can see that the basic layout is correct. You just haven't put any style into it (no classes) so the background is continuous across the columns and your columns are very uneven (you haven't set a width for any of the columns) due to the content you are putting into it (and you have probably hard-coded the width for some of them). *You* will have to style the table, I'm not going to do that for you (nor can I since I have no idea what classes vba uses or have any idea what is hard-coded in any of those modules you are using). The table *is* the shape of what you asked for (you can clearly see the row lines and the line down the very center of the table - which is off center because of the content). |
Thank you Lynne I appreciate your help. I will starte the research on how to style it now.
Lynne one last thing did you get a chance to review the other thread you were helping me with about the drop downs? |
All times are GMT. The time now is 09:29 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|