Video said do not touch layout.css, what then?
I was watching a video on the DW part of this site and the guy says no matter how tempting DO NOT edit the .css file made when creating the fluid grid (I called mine fluid-grid.css. He says DW's fluid grid component is too unstable so he makes his own .css file that he uses for editing once the basic grids are setup.
Okay here is my confusion. I have page1.html and fluid-grid.css saved from beginning of starting a new fluid grid. I've set up the fluid grid layout for each device, and entered basic un-styled content. Now I want to start adding styles and customizing things. Okay, I get it, don't touch fluid-grid.css in DW or bad things will happen. So what do I do to start making custom edits?
Do I copy and paste into a new .css file each sections that were automically created in fluid-grid.css and paste them into a new .css file custom.css? The sections I mean are (I don't paste everyting just the starting of each section I'm referring to:
/* Mobile Layout: 480px and below. */
.gridContainer {
margin-left: auto;
margin-right: auto;
width: 97.3913%;
padding-left: 1.3043%;
padding-right: 1.3043%;
#Header {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
/* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */
@media only screen and (min-width: 481px) {
.gridContainer {
width: 91.4836%;
padding-left: 0.7581%;
padding-right: 0.7581%;
#Header {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
/* Desktop Layout: 769px to a max of 1232px. Inherits styles from: Mobile Layout and Tablet Layout. */
@media only screen and (min-width: 769px) {
.gridContainer {
width: 89.0217%;
max-width: 1232px;
padding-left: 0.4891%;
padding-right: 0.4891%;
margin: auto;
#Header {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
Do I take the section for mobile and paste it into mobile.css, the section for tablet and paste it into tablet.css and the section for desktop and paste it into desktop.css, or will pasting it all into 1 file called custom.css work too?
If the answer is yes, make the file or files, do I remove from the <head></head> of page1.html the original link to fluid-grid.css or does that stay no matter what?
Finally, I've read (and heard from videos) to do editing outside of the DW fluid grid feature. How do I exit the fluid grid feature? I always seem to be in it once I load the page1.html in DW.
Any help greatly appreciated.
Hi friedamee2,
Are you using latest DW 12.2 ?
I was watching a video on the DW part of this site and the guy says no matter how tempting DO NOT edit the .css file made when creating the fluid grid (I called mine fluid-grid.css. He says DW's fluid grid component is too unstable so he makes his own .css file that he uses for editing once the basic grids are setup.
Its a good practice not to edit the DW created properties in Fluid CSS as if updates are made to code created by DW it will fail to recognize the element as fluid.
I.e : if you are not touching or overriding these properties manually you are safe.
.gridContainer {
margin-left: auto;
margin-right: auto;
width: 97.3913%;
padding-left: 1.3043%;
padding-right: 1.3043%;
#abc {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
.abc {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
etc.
Okay here is my confusion. I have page1.html and fluid-grid.css saved from beginning of starting a new fluid grid. I've set up the fluid grid layout for each device, and entered basic un-styled content. Now I want to start adding styles and customizing things. Okay, I get it, don't touch fluid-grid.css in DW or bad things will happen. So what do I do to start making custom edits?
Ideal way will be to have one more CSS file with similar media query structure and then you can add you selectors and custom properties.
Do I take the section for mobile and paste it into mobile.css, the section for tablet and paste it into tablet.css and the section for desktop and paste it into desktop.css, or will pasting it all into 1 file called custom.css work too?
Please never copy and paste the whole thing from Fluid .CSS (DW created properties) as down the lane if you make changes to layout these changed properties will be overridden by the another set of properties in custom.css
Finally, I've read (and heard from videos) to do editing outside of the DW fluid grid feature. How do I exit the fluid grid feature? I always seem to be in it once I load the page1.html in DW.
I don't think so that its necessary,do let me know about any scenario where you feel the need to switch it off.
Although if you want to then just flip/uncheck the fluid grid aids in visual aids.
Kindly revert for any issues or concerns.
Cheers!,
Puneet
Similar Messages
-
Hi Everyone - recently this message popped up on my PC, when I was trying to import cd's into the iTunes library and then onto my iPod - "iTunes has detected a problem with your audio configuration. Audio/video playback may not operate properly." Can anyone tell me what this means and how to fix it ?? I am not fantastically PC savvy, so any information explained fully and all steps to follow to get my music playing again would be great !! Thanks, SC
Hi B, thanks so much for helping me troubleshoot !!
Ok, so when I went in to check the Audio tab of the Sounds and Audio Device Properties, I found the following:-
* Sound Playback Default Device = No Playback Devices.
* Sound Recording Default Device = No Playback Devices.
* MIDI Music Playback Default Device = No MIDI Playback Devices.
All text in this drop-down box were light grey, and therefore unable to be selected or altered.
I also tried playing a cd through Windows Media player, to see if I could get sound a different way. When I put the cd in and clicked on Play, the following message appeared, "Windows Media Player cannot play the file because there is a problem with your sound device. There may not be a sound device installed on your PC, it may be in use by another program, or it may not be functoning properly."
Any ideas ? I had sound previously, but then a work colleague re-built the PC to add more space to the hard drive, and since then, no sound. I know this may now not just be an iTunes issue, but I would appreciate any assistance you can offer.
Thanks again,
Shell -
When i take a photo or a video using the camera on my ipod touch, the computer (windows xp) shuts down and a blue screen comes up saying "an error has occured" and a heap of oth stuff in white. It doesn't wipe the memory or anything off the ipod. Whenever i sync my ipod without photos or videos it works fine. It also doesn't mind me taking photos off itunes to put on the ipod. I have had a look around and a couple of people say reinstall itunes, but i don't know if i will lose all my songs and apps. Any suggestions of help?
Removing all Apple related software and reinstalling iTunes should bring all needed drivers back: Removing iTunes, QuickTime, and other software components for Windows XP
Also check for new driver updates for Windows, especially if you have a webcam installed.
iTunes Store purchases or songs imported from CDs are saved in your My Music folder by default and are not deleted by removing iTunes. While it is highly unlikely that you will lose any contents of your iTunes Library when following these steps, it is always a good idea to ensure that your iTunes library is backed up. If you're unsure how to backup, see iTunes: Back up your iTunes library by copying to an external hard drive.
copied from the article about reinstalling iTunes -
My ipad starts typing in random letters and opens apps when I am not touching it..what is happening??
Try the sandard fixes:
- Reset. Nothing is lost
reset iPad. Press and hold both the Sleep/Wake button and the Home
button for at least ten seconds, until the Apple logo appears.
- Restore from backup
- Restore to factory defaults/new iPad. -
i had just gotten a new ipod touch and i had completed all of the mandatory start-up settings and when i plugged it into my computer to sync my music from itunes, a pop up came up and it said, This ipod cannot be used because the apple mobile device service is not started...what do i do to sync it my itouch?
See Here...
AMDS
http://support.apple.com/kb/TS1567 -
Just watching my rental from iTunes and it stopped midway and said could not load video...can anyone help me fix this. Got last 30 minutes of a fab movie to watch!!!!!
Hello Middlewich
Because the rentals have only a 24-hour playback period and were not able to watch the entire movie, then report the issue to the iTunes Store.
How to report an issue with your iTunes Store, App Store, Mac App Store, or iBooks Store purchase
http://support.apple.com/kb/HT1933
Regards,
-Norm G. -
i have selected the Erase all contents and settings option in my ipod touch 4. till then i was not able to turn it on and even it was not detectable on itunes. what should i do now?
I am confused. You said till you Erases all contents and setting yu could not turn it and iTunes did not see it. How could you Erase all Contents and Setting if you could not turn it on?
-
Home sharing is working fine for musics and videos but not for apps. What is wrong?
Home sharing is working fine for musics and videos but not for apps. What is wrong?
i had the same issue as everyone here after upgrading to itunes 10.x. vista could see xp home share. ipod touch could see xp home share.
neither could see vista home share.
after several hours of authorizing de-authorizing, rebooting router etc, i knew it had to be a firewall thingy with vista as xp was working fine
i went to this article http://support.apple.com/kb/ht2553 and followed the instructions. itunes was already in my vista exception list. on a hunch i deleted the itunes exception and followed the steps to add it again and boom it worked!! i could now see my vista machine from my ipod touch immediately.
something must have screwed up the firewall exception on the upgrade to itunes 10.x
it worked for me, i hope this helps others -
I have an iphone 5s and when I make a playlist on itunes for music videos and sync my iphone the playlist does not show up. What can I do to fix the problem?
Version 11.1.5.5 of iTunes was just released today. If you update to that, does that help with the recognition troubles?
http://www.apple.com/itunes/download/ -
i have model A1458...been acting possessed.... apps opening and closing on their own...zooming in and out... not always responsive to my touch... what could be the problem?
The two most likely culprits would be a faulty cable/charging block or a bad digitizer. Try charging the device with a different charger and cable. If the problem goes away, then the problem is with your charger. If it does not, try the basics of resetting, restoriing from back up, restoring as new. If you still have the problem, make an appointment at the Genius Bar at your local Apple Store for evaluation.
-
I have an ipod touch and Itunes does not recognize device. What can I do?
I have an ipod touch and Itunes does not recognize device. What can I do?
See:
iOS: Device not recognized in iTunes for Windows -
My iPod touch is frozen and asking me to connect to iTunes and when I do connect to iTunes the iPod does not show up. What can I do?
Try placing in DFU mode and then restoring.
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
Last, try restoring on another computer. -
The sound quality of my speaker suddenly got really poor when playing music or videos. Sounds like an old AM radio or Sputnik. Pretty sure it's hardware related but maybe not. Thoughts on what the problem might be and if it can be repaired?
The batterys the ipods come with are very sensetive somtimes they dont react right to the first couple of charges. Try fully charging it and then leaving it on until its completely drained a few times. If that doesnt work it might be a lemon.
-
can any one help me to fix my ipod touch it wont recognized by my laptop and itunes its said usb not recognized its freeze iin display usb and itunes logo pls help me pls itried all the uninstall unknown device and reboot the ipod and restore pls help me thanks
Try the suggestions found here: http://www.apple.com/support/ipodtouch/assistant/itunes/
-
I opened my iPhoto library today which was stored on an external hard drive and several of my videos now will not play at all. The weird thing is that each file shows a duration of 1 second and when I open them it just shows one frame. What the !&%$#@ Where did my original video files go?
Sounds like a good plan, you can never be to safe and having a second External HD is safer than one.
The only thing that I would do different, is setup the 3T as my TimeMachine Backup and then erase and move my Photos, Videos and perhaps even iTunes Media to the 1T. That way you will have room to backup both the Internal Hard Drive and the 1T External Hard Drive to the 3T using TimeMachine.
Take your time, study and use the > Time Machine - Frequently Asked Questions if you get stuck or aren't sure how to make the move.
Also see > iPhoto: How to move the Library folder to a new location
iMovie ’08: Storing or moving your video library to an external hard disk
and > iTunes for Mac: Moving your iTunes Media folder
Maybe you are looking for
-
File Adapter cannot read from Unix Directory
Hello Everyone, I have created a Bpel process that should read txt files from a Unix directory, but its not doing its job. I have tried this process on windows and it works fine. I got the following error from the process log in my bpel console. my p
-
To set a dropdown list for one column in the excel file before downloading
Hi all, I am downloading an excel file which has the format of an internal table with a number of fields. I want to set a dropdown list for one column in the excel file. How can i do this? Thanks
-
Need to double click to activate
On my mac, in order to activate a link or other object, I need to click twice: once to select, then again to activate. Is there any way to be able to click on something and use it using only one click?
-
Hp officejet 7310 all in one scanning/faxing problems
faxing and scanning will not work on my hp officejet 7310 all in one printer ... i have uninstalled and then re-installed, but still not working.... what am i doing wrong?
-
Hi, We have a data relationship which is causing headaches so any ideas how to solve this would be greatly appreciated. Customer Dimension Cust Code Cust Desc Account Dimension Acc Code Acc Desc Balance Facts Cust Code Acc Code Balance Data : Balance