Multiple CSS DIVs or is there another way?
I am hoping that there is a workaround to my existing (and
archaic) approach to reproducing DIV elements to product content
blocks on the following page:
careers
vancancies
At present, this entire microsite is hand coded and manually
updated without the cost or complexity of dynamic intervention. No
budget apparently as my time is free (so it seems!)
In order to recreate a job role block, I am duplicating the
following CSS:
#role1 {
background-color: #f5f5f5;
padding: 10px;
margin-right: 15px;
margin-left: 15px;
margin-bottom: 20px;
border: 1px solid #0265CA;
when I want to add more, I create #role2,#role3,#role4 etc. I
am of the understanding that a DIV can only be used once per page.
Ultimately, which element can I use to emulate what I am currently
doing (adding multiple job role blocks) without having to duplicate
a DIV multiple times. Is it a 'class' thing, and if so what do I
apply it to to render the same.
I hope this makes sense
RB
aarbie wrote:
> I am hoping that there is a workaround to my existing
(and archaic) approach to
> reproducing DIV elements to product content blocks on
the following page:
>
http://careers.theentertainer.com/current-vancancies.htm
>
> At present, this entire microsite is hand coded and
manually updated without
> the cost or complexity of dynamic intervention. No
budget apparently as my time
> is free (so it seems!)
>
> In order to recreate a job role block, I am duplicating
the following CSS:
>
> #role1 {
> background-color: #f5f5f5;
> padding: 10px;
> margin-right: 15px;
> margin-left: 15px;
> margin-bottom: 20px;
> border: 1px solid #0265CA;
> }
>
> when I want to add more, I create #role2,#role3,#role4
etc. I am of the
> understanding that a DIV can only be used once per page.
Ultimately, which
> element can I use to emulate what I am currently doing
(adding multiple job
> role blocks) without having to duplicate a DIV multiple
times. Is it a 'class'
> thing, and if so what do I apply it to to render the
same.
If all containers have the same attributes then you can group
them using
a comma between the id names:
#role1, #role2, #role3, #role4 {
background-color: #f5f5f5;
padding: 10px;
margin-right: 15px;
margin-left: 15px;
margin-bottom: 20px;
border: 1px solid #0265CA;
if you want to change a particular attribute of say #role2,
the bottom
margin, just add this to your css styles: (make sure it comes
after the
original styling in the css cascade)
#role2 {
margin-bottom: 50px;
OR as you say you can use 'classes'. Just create one css
class for all
containers.
.role {
background-color: #f5f5f5;
padding: 10px;
margin-right: 15px;
margin-left: 15px;
margin-bottom: 20px;
border: 1px solid #0265CA;
Then apply it to the containers:
<div class="role">Role 1</div>
<div class="role">Role 2</div>
<div class="role">Role 3</div>
You might save yourself some time by using css shorthand
margin: 0 15px 20px 15px;
Similar Messages
-
Is there another way of exporting from iMovie using export to Quicktime instead of using the CD option which I use so that I can keep my related chapters so that they show up in Idvd when imported.
Only problem is that the quality is bad and once the DVD is made it plays back in a DVD player in a slow motioned kind of way.
If I use the export to Quicktime full quality settings I loose the chapter settings as they are not saved using this function and this function has better quality.You don't have to export any of your iMovie projects in order to place them into an iDVD project. And if you don't export, you won't take that quality hit that you've seen.
Create as many iMovie projects as you'd like. In order to place then into one iDVD project, it is recommended that you keep the total length below 120 minutes. That length includes leaving time for the menus that play in your finished DVD, so leave a bit of wiggle room.
When your iMovie projects are complete, Quit iMovie. Launch iDVD and create a new project. Consider which of the iMovies you want to be the dominant movie in your DVD - the one that plays first if the viewer selects "play movie." In iDVD, do File > Import...> Video and select that iMovie project. Your iMovie chapters will be retained and there will be no loss of quality.
To add more movies to the iDVD project, use the little + in the lower left of the iDVD window. If you choose "Add Movie" you can import another iMovie project. It will add a button to your Menu, as well. If that movie has chapter markers, it will automatically get its own "scene selection" submenu based on those chapters.
One thing to keep in mind is that in the final DVD each movie imported from a separate iMovie project will return to the Menu screen after it plays. There is no choice for "play all" where each movie plays in turn before going back to the menu. (If you wanted them to all play sequentially, you could have created them all with one iMovie project.)
Another thing to keep in mind is to check the Map View of your iDVD project as you are working. With multiple movies, you might accidentally nest items that you wanted to place in parallel. That would result in a DVD that is difficult to navigate when viewing. That map also alerts you to missing items on your menus. When your project is finished, be sure to check the Project > Project Info window and be sure that everything checks out, especially the Project Duration. If total time is below 60 minutes you can encode using "Best Performance" and (ironically) you'll get the highest quality video. If the time is between 60 and 120 minutes you must switch the encoding setting to "Best Quality." The closer you get to 120 minutes, the more likely you are to see a degradation in video quality.
Finally, to avoid surprises in your burned DVD, don't let iDVD do the actual burning. Instead, do File > Save as Disc Image. That lets iDVD do all the encoding, rendering, compressing. When done, you'll have a disc image file that you can preview in your DVD Player Application. If it plays properly, you can burn the disc image to DVD using Disk Utility or Toast. Reducing the speed of the burn to as slow as your media will allow can improve playability.
Regards. -
Can I put more than one user under one Apple ID account. I want to let other family members use imessage on their own Apple device. Or is there another way to get this end result?
You can seach the net for solutions like this one http://appletvvpn.com/how-to-connect-apple-tv-2-to-vpn/ another idea is to use a PC as the control and fit that with a wireless card and set up a ad hoc wireless network that the Apple TV uses.
-
Is there another way of getting apps from the appstore without putting your credit card number in, ive heard about the itunes gift card thing can anybody just give me more info about that and how i can buy free things free things from the appstore...pls help as im only a teenager and have no credit credit and my parents dont trust me with theres and they dont care about the fact that you can set up a password/.... PLEASE SOMEONE HELP I WILL BE SO GRATEFUL... And i would really like to get the iphone 4 but if there is no way of etting apps without your credit number then i would have to get a samsung galaxy s3 maybe ...
You can set up an Apple ID without a credit card.
Create iTunes Store account without credit card - Support - Apple - http://support.apple.com/kb/ht2534 -
When I run the Dr. Fone software it shows they are still on my iPad 2 but it costs 60-70 dollars. Is there another way to retrieve them? They were not backed up on Itunes like I thought they were. Please help!!
Recover software as you have described is pretty much your only option - keep in mind that if wait, some of the currently recoverable data may well be over-written and lost.
-
I have an IPhone 4 that turns off on its own. When I plug the phone into an outlet, it says to connect to iTunes. When i connect my phone to itunes, the screen displays the apple icon and doesn't connect to iTunes. I need to backup info on this phone so I can apply my back up to a new iPhone. Is there any another way i can do this? My older phone will not show it's connected to iTunes. I used iCloud on the phone with problems, but I didn't back up all the info thru iCloud. Is there another way to back up?
Sounds like your phone is in recovery mode. In this case, all data on it is gone. There's nothing to back up.
-
The latest version of iTunes does not allow me to open a playlist in a separate window. I need this feature. Is there another way? You used to be able to double click a playlist and have it appear in a new window.
Others have commented on this too. It seems to be one of the 'improvements' of the newer version you are supposed to embrace with joy as an exciting new development. You can send feedback to Apple but realize you may be perceived as standing in the path of progress.
http://www.apple.com/feedback/itunesapp.html -
I have 2 hdmi ports on my tv- both are being used. I want to connect my apple tv- is there another ways to connect?
Sounds like it's time for an HDMI switch-box (many in...one out). Yell if Google fails to supply decent hints.
-
I'm trying to downgrade my icloud storage; however, my MAC book will not upgrade pass 10.6.8 and I don't have my iphone anymore. If there another way for me to do this? I've tried everything I can find online and of course my coverage has expired and can't call the support team.
Hello Lara,
have you already called Apple and explained your current situation, because I don't see a way to downgrade your storage plan with a Mac only running Snow Leopard and without a iOS device running at least iOS 5.
Best regards. -
My ipod touch is currently running ios 4.2.1 I would like to run ios 5 or 6. When I try to update it on itunes, it tells me my software is up to date. Is there another way to upgrade the IOS? Do I have to go to Settings>General>reset>Erase all content and settings before I can get the newer ios? If this is the case, how can I ensure all my content is backed up prior to erasing it all. Is there anyway to check to ensure the backup is complete and comprehensive? THanks!
A second generation iPod touch can't be updated past 4.2.1.
(88824) -
is there another way i could turn my phone on? it wont turn on or show me the battery screen to show its charging. i already tried to hold the on and home button at the same time but it does not want to turn on. please help?
Device Not Recognised
For PC
http://support.apple.com/kb/TS1538
For Mac
http://support.apple.com/kb/ts1591 -
Is there another way to close apps other than deleting them from the multitask bar.....I have a small crack in the bottom of my screen and that part of the screen does not recognize the touch.
There's generally no reason to be closing them that way at all. The apps you see in the recents bar are just that, apps that you used recently. Most of them are doing absolutely nothing. The only apps that are really doing anything in the background are ones that play music and ones that are using location services. Just leave them be.
Best of luck. -
I downloaded Lion from the App Store on to my iMac and did not save it to a thumb before installing. Do I have to buy it again to install it on my Macbook Pro and iPad, or is there another way to do that?
All my electronics are about a year old. iPad is Model MB293LL (4.2.1) only wi-fi - no phone.
MacBook Pro is OSX 10.6.8 Build 10K549. Also have an AT&T iPhone that I basically use as a Palm, since I changed carriers.
Thank you for your help.
ps: I got an error message and it looks like this did not get posted the first time. 2nd try.Open the Mac App Store on your MacBook Pro
Hold the Option key and click on “Purchases”
Hold the Option key and click on “OS X Lion” from the purchased app list
“Installed’ should now say “Install” which allows you to download OS X Lion.
This assumes you are using the same Apple ID on both computers.
Lion does not get installed on an iPad. It runs iOS. -
I have an 11" MacBook Air. When I plug in my VGA adapter to my Thunderbolt port, the computer doesn't recognize it ... unless I reboot the computer. Is there another way to get the computer to recognize the adapter? (It works with my MacBook Pro)
Thanks for the useful feedback, Knucklesmac. I agree. I must have blown something on the logic board -- because I had a faulty old KVM switch that would not switch between computers without some nasty hot-plugging/unplugging the VGA video cables. (wince!). It's like when Dizzy Dean ruined his arm because a line drive hit him in the foot and he readjusted his mechanics around the injury. I take the blame because this has been a great computer, and does not deserve any blame.
If it will help anyone else reading this thread, C2G (née Cables to Go) has some interesting ideas for still getting external video out of this computer:
-USB-to-VGA
http://www.cablestogo.com/product/30545
-Convert s-video or composite video signals to high resolution VGA
http://www.cablestogo.com/product/40971
The price range is $75-$85, which doesn't make horse sense to me for such an old computer -- which has a lot of life in it anyway, because its own 15" monitor is not chopped liver.
el7 -
I just bought photoshop elements 13 last night. Today I am watching tutorial videos to show me how to use it, but the videos are showing me things I don't have. Asking me to click on tabs i don't have. Why is this? Is there another way I can learn? Or is my download messed up and not giving me everything I need?
Got a link showing us which video tutorials you're watching and examples of what's missing in your software?
Maybe you are looking for
-
OBIEE 10g - Office Add-in - MS Office 2010
We have all users on MS Office 2010 and our BI app is on OBIEE 10g. Unfortunately the OBIEE 10g Office Add-in doesn't install with MS Office 2010 (It works with Office 2003 and 2007 only). Does anyone knows how to resolve this? Other options I tried
-
Creation of new version and its Posting
Hello, I am trying to create a new version and Posting it programatically. For creating a new version for a particular claim i am using action code A019 and for Posting A043. i am callid FM BAPI_WARRANTYCLAIM_SET_ACTION for setting the action codes.
-
How do I add track marks to a continuous mix?
I purchased an album from iTunes that contains one track that is a continuous mix of music for over an hour. How do I add track marks to the mix when burning it to a cd? I would like to seperate it into smaller pieces while still preserving the conti
-
Getting : Error occurred during initialization of VM when compiling
Hello! I am using Jdeveloper 11.1.1.6.0 and all of a sudden when I try to compile I get the following errors... [scac] Error occurred during initialization of VM [scac] Could not reserve enough space for object heap I have tried to look for this issu
-
Customization of Subject Line in SAP Learning Solution Notification
Hi I had a requirement of generating notifications in SAP Learning Solution. The notifications should be automatically posted to the recipients through Email. The above portion is working fine. However, I just wanted to know, <b>Is there a way to cus